0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-05-15 09:31:46 +02:00

docker: Optimize w/ specific boosts; purge cmake/curl after rocksdb built.

This commit is contained in:
Jason Volk 2022-07-05 13:19:09 -07:00
parent 23bb936a44
commit 16be40e4e9

View file

@ -10,12 +10,16 @@ RUN true \
autoconf2.13 \
automake \
autotools-dev \
boost1.74 \
build-essential \
ca-certificates \
cmake \
curl \
git \
libboost-chrono1.74-dev \
libboost-context1.74-dev \
libboost-coroutine1.74-dev \
libboost-system1.74-dev \
libboost-thread1.74-dev \
liblz4-dev \
libnss-db \
libmagic-dev \
@ -64,6 +68,12 @@ RUN true \
-DBUILD_SHARED_LIBS=1 \
&& cmake --build build --target install \
&& rm -rf build \
&& apt-get purge -y \
cmake \
curl \
&& apt-get clean \
&& apt-get autoremove --purge -y \
&& rm -rf /var/lib/apt/lists/* \
&& true
RUN mkdir /build