From a36eae2b0ed1a3665c802b0ee0f2afcc206c1dbc Mon Sep 17 00:00:00 2001 From: terminaldweller Date: Fri, 19 Feb 2021 19:11:12 +0330 Subject: added a dockerfile for cgrep. i'll try to add a smaller alpine image later. this one's too big --- Dockerfile | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..536b80a --- /dev/null +++ b/Dockerfile @@ -0,0 +1,13 @@ +FROM debian:bullseye-slim + +RUN apt update && apt upgrade -y +RUN apt install -y clang-11 llvm-11-dev libclang-common-11-dev libclang-11-dev libllvm11 +RUN apt install -y git make libstdc++6 -y + +RUN git clone https://github.com/bloodstalker/cgrep \ + && cd cgrep \ + && git submodule init \ + && git submodule update \ + && make CXX=clang-11 LLVM_CONF=llvm-config-11 + +RUN rm -rf /var/apt/cache -- cgit v1.2.3