|
|
|
@ -4,8 +4,8 @@
|
|
|
|
|
FROM ubuntu:bionic
|
|
|
|
|
|
|
|
|
|
# install some basic packages
|
|
|
|
|
RUN apt-get update &&
|
|
|
|
|
apt-get install -y --no-install-recommends \
|
|
|
|
|
RUN apt-get update \
|
|
|
|
|
&& apt-get install -y --no-install-recommends \
|
|
|
|
|
build-essential \
|
|
|
|
|
curl \
|
|
|
|
|
git \
|
|
|
|
@ -38,8 +38,8 @@ RUN apt-get update &&
|
|
|
|
|
libtool \
|
|
|
|
|
strace \
|
|
|
|
|
less \
|
|
|
|
|
libuv1-dev &&
|
|
|
|
|
rm -rf /var/lib/apt/lists/*
|
|
|
|
|
libuv1-dev \
|
|
|
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
|
|
|
|
|
|
# set to use our installed clang version
|
|
|
|
|
RUN update-alternatives --install /usr/bin/clang clang /usr/bin/clang-8 100
|
|
|
|
@ -48,7 +48,7 @@ RUN update-alternatives --install /usr/bin/llvm-config llvm-config /usr/bin/llvm
|
|
|
|
|
# set LD_LIBRARY_PATH
|
|
|
|
|
ENV LD_LIBRARY_PATH=/usr/local/lib
|
|
|
|
|
|
|
|
|
|
RUN curl https://sh.rustup.rs -sSf |
|
|
|
|
|
RUN curl https://sh.rustup.rs -sSf | \
|
|
|
|
|
sh -s -- --default-toolchain stable -y
|
|
|
|
|
ENV PATH=/root/.cargo/bin:$PATH
|
|
|
|
|
|
|
|
|
|