Use pre-built musl-tools package
This commit is contained in:
parent
1bf7dc854e
commit
4bbe14e5cb
|
@ -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 && \
|
||||
|
|
Loading…
Reference in a new issue