Skip to content

Commit 1a2f7e9

Browse files
committed
fix(ci): Build arg usage
1 parent f471be6 commit 1a2f7e9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Dockerfile

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
ARG ALPINE=3.20
2+
ENV ALPINE=$ALPINE
23
FROM alpine:${ALPINE}
34

45
ARG PHP
@@ -11,7 +12,7 @@ ARG WITHOUT_WATCHR
1112
ENV WITHOUT_WATCHR=$WITHOUT_WATCHR
1213

1314
COPY rootfs /
14-
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 && \
1516
apk update && apk upgrade && apk add --no-cache \
1617
git \
1718
docker-cli \

0 commit comments

Comments
 (0)