File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 11# syntax=docker/dockerfile:1.4-labs
22
33ARG ALPINE_VERSION=3.17
4+ ARG ARCH=x86_64
45
56FROM alpine:${ALPINE_VERSION} as rust-base
67
@@ -10,7 +11,7 @@ ENV RUSTUP_HOME=/usr/local/rustup
1011ENV CARGO_HOME=/usr/local/cargo
1112ENV PATH=/usr/local/cargo/bin:${PATH}
1213
13- ARG ARCH=x86_64
14+ ARG ARCH
1415ARG RUSTUP_VERSION=1.25.1
1516ARG RUST_VERSION=1.66.0
1617ARG RUST_ARCH=${ARCH}-unknown-linux-musl
@@ -184,6 +185,7 @@ COPY --from=build --link=false /usr/src/josh/static/ /josh/static/
184185ARG S6_OVERLAY_VERSION=3.1.2.1
185186ADD https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLAY_VERSION}/s6-overlay-noarch.tar.xz /tmp
186187RUN tar -C / -Jxpf /tmp/s6-overlay-noarch.tar.xz
188+ ARG ARCH
187189ADD https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLAY_VERSION}/s6-overlay-${ARCH}.tar.xz /tmp
188190RUN tar -C / -Jxpf /tmp/s6-overlay-${ARCH}.tar.xz
189191
You can’t perform that action at this time.
0 commit comments