aboutsummaryrefslogtreecommitdiffstats
path: root/docker
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--docker/14/Dockerfile17
-rw-r--r--docker/16/Dockerfile5
-rw-r--r--docker/17/Dockerfile17
-rw-r--r--docker/18/Dockerfile17
-rw-r--r--docker/arch/Dockerfile2
5 files changed, 54 insertions, 4 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
diff --git a/docker/16/Dockerfile b/docker/16/Dockerfile
index 5406646..1c767ce 100644
--- a/docker/16/Dockerfile
+++ b/docker/16/Dockerfile
@@ -1,10 +1,9 @@
FROM debian:bullseye-slim
-ENV HTTPS_PROXY=socks5h://192.168.1.214:9995
RUN apt update && apt upgrade -y
RUN apt install -y wget cmake git lsb-release software-properties-common gnupg2
RUN wget https://apt.llvm.org/llvm.sh && chmod +x ./llvm.sh && ./llvm.sh 16
-RUN apt install -y llvm-16-dev libclang-common-16-dev libclang-16-dev clang-16
+RUN apt install -y llvm-16-dev libclang-common-16-dev libclang-16-dev clang-16 libclang-cpp16-dev
RUN git clone https://github.com/bloodstalker/cgrep \
&& cd cgrep \
@@ -12,7 +11,7 @@ RUN git clone https://github.com/bloodstalker/cgrep \
&& git submodule update \
&& mkdir build \
&& cd build \
- && cmake ../ -DLLVM_CONF=llvm-config-16 -DCMAKE_CXX_COMPILER=clang++-16 -DUSE_MONOLITH_LIBTOOLING=OFF\
+ && cmake ../ -DLLVM_CONF=llvm-config-16 -DCMAKE_CXX_COMPILER=clang++-16 -DUSE_MONOLITH_LIBTOOLING=ON\
&& make
RUN rm -rf /var/apt/cache
diff --git a/docker/17/Dockerfile b/docker/17/Dockerfile
new file mode 100644
index 0000000..8dfa2d2
--- /dev/null
+++ b/docker/17/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 gpg
+RUN wget https://apt.llvm.org/llvm.sh && chmod +x ./llvm.sh && ./llvm.sh 17
+RUN apt install -y llvm-17-dev libclang-common-17-dev libclang-17-dev clang-17 libclang-cpp17-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-17 -DCMAKE_CXX_COMPILER=clang++-17 -DUSE_MONOLITH_LIBTOOLING=ON\
+ && make
+
+RUN rm -rf /var/apt/cache
diff --git a/docker/18/Dockerfile b/docker/18/Dockerfile
new file mode 100644
index 0000000..2f94086
--- /dev/null
+++ b/docker/18/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 https://apt.llvm.org/llvm.sh && chmod +x ./llvm.sh && ./llvm.sh 18
+RUN apt install -y llvm-18-dev libclang-common-18-dev libclang-18-dev clang-18 libclang-cpp18-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-18 -DCMAKE_CXX_COMPILER=clang++-18 -DUSE_MONOLITH_LIBTOOLING=ON\
+ && make
+
+RUN rm -rf /var/apt/cache
diff --git a/docker/arch/Dockerfile b/docker/arch/Dockerfile
index 27f7b99..4071aca 100644
--- a/docker/arch/Dockerfile
+++ b/docker/arch/Dockerfile
@@ -1,4 +1,4 @@
-FROM archlinux:base-devel-20210725.0.29770
+FROM archlinux:base-devel-20240908.0.261281
RUN pacman -Syu --noconfirm
RUN pacman -S --noconfirm wget cmake git gnupg llvm-libs llvm openmp clang