aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2021-02-19 15:41:12 +0000
committerterminaldweller <thabogre@gmail.com>2021-02-19 15:41:12 +0000
commita36eae2b0ed1a3665c802b0ee0f2afcc206c1dbc (patch)
treed529a965e580083844a54073efaadbaefddc6eb6
parentchanging default shell to sh (diff)
downloadcgrep-a36eae2b0ed1a3665c802b0ee0f2afcc206c1dbc.tar.gz
cgrep-a36eae2b0ed1a3665c802b0ee0f2afcc206c1dbc.zip
added a dockerfile for cgrep. i'll try to add a smaller alpine image later. this one's too big
Diffstat (limited to '')
-rw-r--r--Dockerfile13
1 files changed, 13 insertions, 0 deletions
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