File tree Expand file tree Collapse file tree 6 files changed +6
-6
lines changed Expand file tree Collapse file tree 6 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ RUN set -eux; \
1414 wget "$url" ; \
1515 echo "cee31c6f72b953c6293fd5d40142c7d61aa85db2a5ea81b3519fe1b492148dc9 *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 @@ -14,7 +14,7 @@ RUN set -eux; \
1414 wget "$url" ; \
1515 echo "cee31c6f72b953c6293fd5d40142c7d61aa85db2a5ea81b3519fe1b492148dc9 *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 @@ -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; \
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ RUN set -eux; \
2525 wget "$url" ; \
2626 echo "${rustupSha256} *rustup-init" | sha256sum -c -; \
2727 chmod +x rustup-init; \
28- ./rustup-init -y --no-modify-path --profile minimal --default-toolchain $RUST_VERSION; \
28+ ./rustup-init -y --no-modify-path --profile minimal --default-toolchain $RUST_VERSION --default-host ${rustArch} ; \
2929 rm rustup-init; \
3030 chmod -R a+w $RUSTUP_HOME $CARGO_HOME; \
3131 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; \
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ RUN set -eux; \
2525 wget "$url" ; \
2626 echo "${rustupSha256} *rustup-init" | sha256sum -c -; \
2727 chmod +x rustup-init; \
28- ./rustup-init -y --no-modify-path --profile minimal --default-toolchain $RUST_VERSION; \
28+ ./rustup-init -y --no-modify-path --profile minimal --default-toolchain $RUST_VERSION --default-host ${rustArch} ; \
2929 rm rustup-init; \
3030 chmod -R a+w $RUSTUP_HOME $CARGO_HOME; \
3131 rustup --version; \
You can’t perform that action at this time.
0 commit comments