Skip to content

Commit

Permalink
added docker test build for 15
Browse files Browse the repository at this point in the history
  • Loading branch information
terminaldweller committed Sep 13, 2024
1 parent 0d8866b commit b56ea3d
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions docker/15/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
FROM debian:bullseye-slim

RUN apt update && apt upgrade -y
RUN apt install -y wget cmake git lsb-release software-properties-common gnupg2
RUN wget apt.llvm.org/llvm.sh && chmod +x ./llvm.sh && ./llvm.sh 15
RUN apt install -y llvm-15-dev libclang-common-15-dev libclang-15-dev clang-15 libclang-cpp15-dev

RUN git clone https://github.com/bloodstalker/cgrep \
&& cd cgrep \
&& git submodule init \
&& git submodule update \
&& mkdir build \
&& cd build \
&& cmake ../ -DLLVM_CONF=llvm-config-15 -DCMAKE_CXX_COMPILER=clang++-15 -DUSE_MONOLITH_LIBTOOLING=ON\
&& make

RUN rm -rf /var/apt/cache

0 comments on commit b56ea3d

Please sign in to comment.