We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f471be6 commit 1a2f7e9Copy full SHA for 1a2f7e9
1 file changed
Dockerfile
@@ -1,4 +1,5 @@
1
ARG ALPINE=3.20
2
+ENV ALPINE=$ALPINE
3
FROM alpine:${ALPINE}
4
5
ARG PHP
@@ -11,7 +12,7 @@ ARG WITHOUT_WATCHR
11
12
ENV WITHOUT_WATCHR=$WITHOUT_WATCHR
13
14
COPY rootfs /
-RUN sed -i 's/latest-stable/v$ALPINE/g' /etc/apk/repositories && \
15
+RUN sed -i "s/latest-stable/v${ALPINE}/g" /etc/apk/repositories && \
16
apk update && apk upgrade && apk add --no-cache \
17
git \
18
docker-cli \
0 commit comments