mirror of
https://github.com/matrix-construct/construct
synced 2024-10-31 19:08:59 +01:00
18 lines
503 B
Docker
18 lines
503 B
Docker
FROM jevolk/construct:ubuntu-22.04-full-clang-14
|
|
|
|
RUN true \
|
|
&& git clone https://github.com/jevolk/charybdis.git \
|
|
&& cd charybdis \
|
|
&& rmdir -v deps/rocksdb \
|
|
&& ln -sv /usr/src/rocksdb deps \
|
|
&& ./autogen.sh \
|
|
&& ./configure \
|
|
&& make -j `nproc` \
|
|
&& make install \
|
|
&& cd .. \
|
|
&& rm -rf charybdis \
|
|
&& apt-get purge -y clang-14 llvm-14-dev \
|
|
&& apt-get autoremove --purge -y \
|
|
&& apt-get clean -y \
|
|
&& rm -rf /var/lib/apt/lists/* \
|
|
&& true
|