blob: 39853c3b96bde26a4824fa33436967f0585b06d4 (
plain) (
tree)
|
|
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
|