Use pre-built musl-tools package

This commit is contained in:
Eric Kidd 2016-11-19 08:50:23 -05:00
parent 1bf7dc854e
commit 4bbe14e5cb
1 changed files with 1 additions and 6 deletions

View File

@ -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 && \