aboutsummaryrefslogtreecommitdiffstats
path: root/docker/11/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'docker/11/Dockerfile')
-rw-r--r--docker/11/Dockerfile17
1 files changed, 17 insertions, 0 deletions
diff --git a/docker/11/Dockerfile b/docker/11/Dockerfile
new file mode 100644
index 0000000..edef053
--- /dev/null
+++ b/docker/11/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 11
+RUN apt install -y llvm-11-dev libclang-common-11-dev libclang-11-dev clang-11
+
+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-11 -DCMAKE_CXX_COMPILER=clang++-11 -DUSE_MONOLITH_LIBTOOLING=OFF\
+ && make
+
+RUN rm -rf /var/apt/cache