diff options
author | terminaldweller <thabogre@gmail.com> | 2022-11-24 13:38:34 +0000 |
---|---|---|
committer | terminaldweller <thabogre@gmail.com> | 2022-11-24 13:38:34 +0000 |
commit | f3922b5e65b21ec513b000d15a3f9bae2faf2282 (patch) | |
tree | a3a6133b12706173e784c6076efc97c94da08b87 /docker | |
parent | updated the README with a deprecation notice for the gnu make build method. m... (diff) | |
download | cgrep-f3922b5e65b21ec513b000d15a3f9bae2faf2282.tar.gz cgrep-f3922b5e65b21ec513b000d15a3f9bae2faf2282.zip |
test build for llvm/clang 16 [ci skip]
Diffstat (limited to '')
-rw-r--r-- | docker/16/Dockerfile | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/docker/16/Dockerfile b/docker/16/Dockerfile new file mode 100644 index 0000000..5406646 --- /dev/null +++ b/docker/16/Dockerfile @@ -0,0 +1,18 @@ +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 git clone https://github.com/bloodstalker/cgrep \ + && cd cgrep \ + && git submodule init \ + && git submodule update \ + && mkdir build \ + && cd build \ + && cmake ../ -DLLVM_CONF=llvm-config-16 -DCMAKE_CXX_COMPILER=clang++-16 -DUSE_MONOLITH_LIBTOOLING=OFF\ + && make + +RUN rm -rf /var/apt/cache |