From 4bbe14e5cbdc96c6f82dc7643d0a2b7bd2e0664d Mon Sep 17 00:00:00 2001 From: Eric Kidd Date: Sat, 19 Nov 2016 08:50:23 -0500 Subject: [PATCH] Use pre-built musl-tools package --- Dockerfile | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index 87f6c98..3ac3150 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,6 +16,7 @@ RUN apt-get update && \ curl \ file \ git \ + musl-tools \ sudo \ xutils-dev \ && \ @@ -48,12 +49,6 @@ ADD cargo-config.toml /home/rust/.cargo/config # clean up when you're done. WORKDIR /home/rust/libs -# Build the musl-libc toolchain, which installs itself in /usr/local/musl. -RUN sudo chown rust:rust /home/rust/libs && \ - git clone git://git.musl-libc.org/musl && cd musl && \ - ./configure && make && sudo make install && \ - cd .. && rm -rf musl - # Build a static library version of OpenSSL using musl-libc. This is # needed by the popular Rust `hyper` crate. RUN VERS=1.0.2g && \