Cleanup dockerfile
This commit is contained in:
parent
275bf3e5cf
commit
06eb6612ac
1 changed files with 4 additions and 5 deletions
|
@ -1,16 +1,15 @@
|
||||||
FROM ubuntu:latest
|
FROM ubuntu:latest
|
||||||
|
|
||||||
RUN apt-get update && \
|
|
||||||
apt-get install software-properties-common git build-essential libbz2-dev cmake libuv1-dev libssl-dev wget -y
|
|
||||||
|
|
||||||
RUN add-apt-repository ppa:jonathonf/gcc-7.1 && \
|
RUN add-apt-repository ppa:jonathonf/gcc-7.1 && \
|
||||||
apt-get update && \
|
apt-get update && \
|
||||||
apt-get install gcc-7 g++-7 -y
|
apt-get install gcc-7 g++-7 software-properties-common git build-essential libbz2-dev cmake libuv1-dev libssl-dev wget -y && \
|
||||||
|
apt-get clean && \
|
||||||
|
rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
RUN wget https://dl.bintray.com/boostorg/release/1.66.0/source/boost_1_66_0.tar.gz \
|
RUN wget https://dl.bintray.com/boostorg/release/1.66.0/source/boost_1_66_0.tar.gz \
|
||||||
&& tar xfz oost_1_66_0.tar.gz \
|
&& tar xfz oost_1_66_0.tar.gz \
|
||||||
&& rm boost_1_66_0.tar.gz \
|
&& rm boost_1_66_0.tar.gz \
|
||||||
&& cd oost_1_66_0 \
|
&& cd boost_1_66_0 \
|
||||||
&& ./bootstrap.sh \
|
&& ./bootstrap.sh \
|
||||||
&& ./b2 --with-libraries=system -j 4 link=shared runtime-link=shared install \
|
&& ./b2 --with-libraries=system -j 4 link=shared runtime-link=shared install \
|
||||||
&& cd .. && rm -rf boost_1_66_0 && ldconfig
|
&& cd .. && rm -rf boost_1_66_0 && ldconfig
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue