about summary refs log tree commit diff
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-01-27 00:19:59 +0100
committervan Hauser <vh@thc.org>2020-01-27 00:19:59 +0100
commit3561a1b775989a0cf37221f810eec601cdb14bcf (patch)
treec3cd9e86192206cad8446d89e2037aa74907754e
parent2c6847bfa0b57f3330b1aab9b91d935757db51b7 (diff)
downloadafl++-3561a1b775989a0cf37221f810eec601cdb14bcf.tar.gz
dockerfile update
-rw-r--r--Dockerfile13
1 files changed, 9 insertions, 4 deletions
diff --git a/Dockerfile b/Dockerfile
index 1947f211..7bb60610 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -9,6 +9,9 @@ RUN apt-get update && apt-get install -y \
     clang \
     clang-9 \
     flex \
+    git \
+    python3.7 \
+    python3.7-dev \
     gcc-9 \
     gcc-9-plugin-dev \
     gcc-9-multilib \
@@ -23,10 +26,12 @@ RUN apt-get update && apt-get install -y \
     ca-certificates \
     libpixman-1-dev \
     && rm -rf /var/lib/apt/lists/*
+
 ARG CC=gcc-9
 ARG CXX=g++-9
 ARG LLVM_CONFIG=llvm-config-9
-COPY . /app
-RUN cd /app && make clean && make distrib && \
-    make install && cd .. && rm -rf /app
-WORKDIR /work
+
+RUN git clone https://github.com/vanhauser-thc/AFLplusplus
+
+RUN cd AFLplusplus && make clean && make distrib && \
+    make install && cd .. && rm -rf AFLplusplus