aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorterminaldweller <devi@terminaldweller.com>2024-09-13 12:06:17 +0000
committerterminaldweller <devi@terminaldweller.com>2024-09-13 12:06:17 +0000
commitb56ea3d72b7ce579f48d535c5876576c7a4da8aa (patch)
tree7109e6a8674fd655b3c5b6839ab8444629cc3ff6
parentremoved obsolete tags (diff)
downloadcgrep-b56ea3d72b7ce579f48d535c5876576c7a4da8aa.tar.gz
cgrep-b56ea3d72b7ce579f48d535c5876576c7a4da8aa.zip
added docker test build for 15
-rw-r--r--docker/15/Dockerfile17
1 files changed, 17 insertions, 0 deletions
diff --git a/docker/15/Dockerfile b/docker/15/Dockerfile
new file mode 100644
index 0000000..2fa0df8
--- /dev/null
+++ b/docker/15/Dockerfile
@@ -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