Skip to content

Commit

Permalink
fix(ci): Build arg usage
Browse files Browse the repository at this point in the history
  • Loading branch information
leocavalcante committed Sep 16, 2024
1 parent f471be6 commit 1a2f7e9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
ARG ALPINE=3.20
ENV ALPINE=$ALPINE
FROM alpine:${ALPINE}

ARG PHP
Expand All @@ -11,7 +12,7 @@ ARG WITHOUT_WATCHR
ENV WITHOUT_WATCHR=$WITHOUT_WATCHR

COPY rootfs /
RUN sed -i 's/latest-stable/v$ALPINE/g' /etc/apk/repositories && \
RUN sed -i "s/latest-stable/v${ALPINE}/g" /etc/apk/repositories && \
apk update && apk upgrade && apk add --no-cache \
git \
docker-cli \
Expand Down

0 comments on commit 1a2f7e9

Please sign in to comment.