mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2025-06-15 20:12:47 +00:00
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.
This commit is contained in:
parent
b8447fcab8
commit
480ce9bcac
@ -1,4 +1,5 @@
|
|||||||
FROM alpine:3.17
|
ARG ALPINE_VERSION=3.17
|
||||||
|
FROM alpine:${ALPINE_VERSION}
|
||||||
|
|
||||||
RUN apk --no-cache add -f \
|
RUN apk --no-cache add -f \
|
||||||
openssl \
|
openssl \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user