0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-05-29 08:13:46 +02:00
construct/docker/ubuntu/22.04/built/Dockerfile

33 lines
595 B
Docker

FROM jevolk/construct:ubuntu-22.04-full-clang-14
ENV purges="\
autoconf \
autoconf-archive \
autoconf2.13 \
automake \
autotools-dev \
build-essential \
clang-14 \
git \
libtool \
llvm-14-dev \
shtool \
"
RUN true \
&& git clone https://github.com/matrix-construct/construct \
&& cd construct \
&& rmdir -v deps/rocksdb \
&& ln -sv /usr/src/rocksdb deps \
&& ./autogen.sh \
&& ./configure \
&& make -j `nproc` \
&& make install \
&& cd .. \
&& rm -rf construct \
&& apt-get purge -y ${purges} \
&& apt-get autoremove --purge -y \
&& apt-get clean -y \
&& rm -rf /var/lib/apt/lists/* \
&& true