File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff 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; \
Original file line number Diff line number Diff 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; \
Original file line number Diff line number Diff 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; \
You can’t perform that action at this time.
0 commit comments