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
|
||||
# manually.
|
||||
RUN curl https://sh.rustup.rs -sSf | \
|
||||
sh -s -- -y \
|
||||
--default-toolchain $TOOLCHAIN \
|
||||
--default-target x86_64-unknown-linux-musl
|
||||
sh -s -- -y --default-toolchain $TOOLCHAIN \
|
||||
rustup target add x86_64-unknown-linux-musl
|
||||
ADD cargo-config.toml /home/rust/.cargo/config
|
||||
|
||||
# We'll build our libraries in subdirectories of /home/rust/libs. Please
|
||||
|
|
Loading…
Reference in a new issue