From a5fbde9b8b7525e52eec790cfbebe0cc704af47e Mon Sep 17 00:00:00 2001 From: Eric Kidd Date: Fri, 25 Nov 2016 07:54:46 -0500 Subject: [PATCH] Add musl target manually again --- Dockerfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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