mirror of
https://github.com/matrix-construct/construct
synced 2024-10-31 19:08:59 +01:00
docker: Add fully built image.
This commit is contained in:
parent
db75ca52c4
commit
26a4653fb0
2 changed files with 20 additions and 0 deletions
|
@ -34,6 +34,7 @@ docker build $ARGS -t $ACCT/$REPO:ubuntu-22.04-base-gcc-12 $BASEDIR/ubuntu/22.04
|
|||
#docker build $ARGS -t $ACCT/$REPO:ubuntu-22.04-base-clang-13 $BASEDIR/ubuntu/22.04/base-clang-13
|
||||
#docker build $ARGS -t $ACCT/$REPO:ubuntu-22.04-base-clang-14 $BASEDIR/ubuntu/22.04/base-clang-14
|
||||
docker build $ARGS -t $ACCT/$REPO:ubuntu-22.04-full-clang-14 $BASEDIR/ubuntu/22.04/full-clang-14
|
||||
docker build $ARGS -t $ACCT/$REPO:ubuntu-22.04-built $BASEDIR/ubuntu/22.04/built
|
||||
|
||||
docker push $ACCT/$REPO:ubuntu-22.04-base
|
||||
docker push $ACCT/$REPO:ubuntu-22.04-full
|
||||
|
@ -48,3 +49,4 @@ docker push $ACCT/$REPO:ubuntu-22.04-base-gcc-12
|
|||
#docker push $ACCT/$REPO:ubuntu-22.04-base-clang-13
|
||||
#docker push $ACCT/$REPO:ubuntu-22.04-base-clang-14
|
||||
docker push $ACCT/$REPO:ubuntu-22.04-full-clang-14
|
||||
docker push $ACCT/$REPO:ubuntu-22.04-built
|
||||
|
|
18
docker/ubuntu/22.04/built/Dockerfile
Normal file
18
docker/ubuntu/22.04/built/Dockerfile
Normal file
|
@ -0,0 +1,18 @@
|
|||
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
|
Loading…
Reference in a new issue