diff --git a/Dockerfile b/Dockerfile index 057331f..f38ddf4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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