Browse Source

Parametrize alpine version in Dockerfile

Set the version of the Alpine base container as an argument with a default value to allow easy substitution without the need to modify the upstream file. This can be leveraged both from docker command line (`docker build --build-arg ALPINE_VERSION=<version> <acmesh_github_url>`) and from docker-compose files.
pull/4800/head
LonerDan 1 year ago
committed by GitHub
parent
commit
480ce9bcac
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      Dockerfile

3
Dockerfile

@ -1,4 +1,5 @@
FROM alpine:3.17
ARG ALPINE_VERSION=3.17
FROM alpine:${ALPINE_VERSION}
RUN apk --no-cache add -f \
openssl \

Loading…
Cancel
Save