Skip to content

Commit ca40428

Browse files
KingPinKingPin
authored andcommitted
fix(v2): use v-prefixed S6_OVERLAY_VERSION and update s6-overlay download URLs to match
1 parent 816a490 commit ca40428

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dockerfile.v2

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ ARG VERSION=8.3-cli-alpine
33
FROM public.ecr.aws/docker/library/php:${VERSION}
44
ARG PHPVERSION
55
ARG BASEOS
6-
ARG S6_OVERLAY_VERSION=3.2.1.0
6+
ARG S6_OVERLAY_VERSION=v3.2.1.0
77
ARG TARGETARCH
88
ARG BUILD_DATE
99
ARG VCS_REF
@@ -157,8 +157,8 @@ RUN if [ "$BASEOS" = "trixie" ] || [ "$BASEOS" = "bookworm" ]; then \
157157
*) S6_ARCH="x86_64" ;; \
158158
esac && \
159159
echo "Downloading s6-overlay ${S6_OVERLAY_VERSION} for ${S6_ARCH}" && \
160-
wget -O /tmp/s6-overlay-noarch.tar.xz https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLAY_VERSION}/s6-overlay-noarch.tar.xz && \
161-
wget -O /tmp/s6-overlay-${S6_ARCH}.tar.xz https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLAY_VERSION}/s6-overlay-${S6_ARCH}.tar.xz && \
160+
wget -O /tmp/s6-overlay-noarch.tar.xz https://github.com/just-containers/s6-overlay/releases/download/${S6_OVERLAY_VERSION}/s6-overlay-noarch.tar.xz && \
161+
wget -O /tmp/s6-overlay-${S6_ARCH}.tar.xz https://github.com/just-containers/s6-overlay/releases/download/${S6_OVERLAY_VERSION}/s6-overlay-${S6_ARCH}.tar.xz && \
162162
tar -C / -Jxpf /tmp/s6-overlay-noarch.tar.xz && \
163163
tar -C / -Jxpf /tmp/s6-overlay-${S6_ARCH}.tar.xz && \
164164
rm /tmp/s6-overlay-noarch.tar.xz /tmp/s6-overlay-${S6_ARCH}.tar.xz && \

0 commit comments

Comments
 (0)