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 1
1
# syntax=docker/dockerfile:1.4-labs
2
2
3
3
ARG ALPINE_VERSION=3.17
4
+ ARG ARCH=x86_64
4
5
5
6
FROM alpine:${ALPINE_VERSION} as rust-base
6
7
@@ -10,7 +11,7 @@ ENV RUSTUP_HOME=/usr/local/rustup
10
11
ENV CARGO_HOME=/usr/local/cargo
11
12
ENV PATH=/usr/local/cargo/bin:${PATH}
12
13
13
- ARG ARCH=x86_64
14
+ ARG ARCH
14
15
ARG RUSTUP_VERSION=1.25.1
15
16
ARG RUST_VERSION=1.66.0
16
17
ARG RUST_ARCH=${ARCH}-unknown-linux-musl
@@ -184,6 +185,7 @@ COPY --from=build --link=false /usr/src/josh/static/ /josh/static/
184
185
ARG S6_OVERLAY_VERSION=3.1.2.1
185
186
ADD https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLAY_VERSION}/s6-overlay-noarch.tar.xz /tmp
186
187
RUN tar -C / -Jxpf /tmp/s6-overlay-noarch.tar.xz
188
+ ARG ARCH
187
189
ADD https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLAY_VERSION}/s6-overlay-${ARCH}.tar.xz /tmp
188
190
RUN tar -C / -Jxpf /tmp/s6-overlay-${ARCH}.tar.xz
189
191
You can’t perform that action at this time.
0 commit comments