Add musl target manually again
This commit is contained in:
parent
ee2ab52448
commit
a5fbde9b8b
|
@ -44,9 +44,8 @@ ENV PATH=/home/rust/.cargo/bin:/usr/local/musl/bin:/usr/local/bin:/usr/bin:/bin
|
||||||
# `--target` to musl so that our users don't need to keep overriding it
|
# `--target` to musl so that our users don't need to keep overriding it
|
||||||
# manually.
|
# manually.
|
||||||
RUN curl https://sh.rustup.rs -sSf | \
|
RUN curl https://sh.rustup.rs -sSf | \
|
||||||
sh -s -- -y \
|
sh -s -- -y --default-toolchain $TOOLCHAIN \
|
||||||
--default-toolchain $TOOLCHAIN \
|
rustup target add x86_64-unknown-linux-musl
|
||||||
--default-target x86_64-unknown-linux-musl
|
|
||||||
ADD cargo-config.toml /home/rust/.cargo/config
|
ADD cargo-config.toml /home/rust/.cargo/config
|
||||||
|
|
||||||
# We'll build our libraries in subdirectories of /home/rust/libs. Please
|
# We'll build our libraries in subdirectories of /home/rust/libs. Please
|
||||||
|
|
Loading…
Reference in a new issue