Skip to content

Commit b3b3581

Browse files
committed
Set default_host_triple
Signed-off-by: Tilo Spannagel <[email protected]>
1 parent d237d8c commit b3b3581

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Dockerfile-alpine.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ RUN set -eux; \
1414
wget "$url"; \
1515
echo "%%RUSTUP-SHA256%% *rustup-init" | sha256sum -c -; \
1616
chmod +x rustup-init; \
17-
./rustup-init -y --no-modify-path --profile minimal --default-toolchain $RUST_VERSION; \
17+
./rustup-init -y --no-modify-path --profile minimal --default-toolchain $RUST_VERSION --default-host x86_64-unknown-linux-musl; \
1818
rm rustup-init; \
1919
chmod -R a+w $RUSTUP_HOME $CARGO_HOME; \
2020
rustup --version; \

Dockerfile-debian.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ RUN set -eux; \
1111
wget "$url"; \
1212
echo "${rustupSha256} *rustup-init" | sha256sum -c -; \
1313
chmod +x rustup-init; \
14-
./rustup-init -y --no-modify-path --profile minimal --default-toolchain $RUST_VERSION; \
14+
./rustup-init -y --no-modify-path --profile minimal --default-toolchain $RUST_VERSION --default-host ${rustArch}; \
1515
rm rustup-init; \
1616
chmod -R a+w $RUSTUP_HOME $CARGO_HOME; \
1717
rustup --version; \

Dockerfile-slim.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ RUN set -eux; \
1818
wget "$url"; \
1919
echo "${rustupSha256} *rustup-init" | sha256sum -c -; \
2020
chmod +x rustup-init; \
21-
./rustup-init -y --no-modify-path --profile minimal --default-toolchain $RUST_VERSION; \
21+
./rustup-init -y --no-modify-path --profile minimal --default-toolchain $RUST_VERSION --default-host ${rustArch}; \
2222
rm rustup-init; \
2323
chmod -R a+w $RUSTUP_HOME $CARGO_HOME; \
2424
rustup --version; \

0 commit comments

Comments
 (0)