aboutsummaryrefslogtreecommitdiffstats
path: root/docker/14
diff options
context:
space:
mode:
authorterminaldweller <devi@terminaldweller.com>2024-09-13 11:42:15 +0000
committerterminaldweller <devi@terminaldweller.com>2024-09-13 11:42:15 +0000
commitd55b4b1d2aa8b41163862b9712b5f810dcaa600c (patch)
tree906c629b63d98476909cc41b7c578bc70f8e1138 /docker/14
parentgh actions fix (diff)
downloadcgrep-d55b4b1d2aa8b41163862b9712b5f810dcaa600c.tar.gz
cgrep-d55b4b1d2aa8b41163862b9712b5f810dcaa600c.zip
added docker test builds for 14,17,18, checked all docker builds from 11 to 18 and for arch linux, updated readme
Diffstat (limited to 'docker/14')
-rw-r--r--docker/14/Dockerfile17
1 files changed, 17 insertions, 0 deletions
diff --git a/docker/14/Dockerfile b/docker/14/Dockerfile
new file mode 100644
index 0000000..39853c3
--- /dev/null
+++ b/docker/14/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 14
+RUN apt install -y llvm-14-dev libclang-common-14-dev libclang-14-dev clang-14
+
+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-14 -DCMAKE_CXX_COMPILER=clang++-14 -DUSE_MONOLITH_LIBTOOLING=OFF\
+ && make
+
+RUN rm -rf /var/apt/cache