aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorDominik Maier <domenukk@gmail.com>2020-07-31 15:55:48 +0200
committerDominik Maier <domenukk@gmail.com>2020-07-31 15:55:48 +0200
commit071fcac430dea6208bdb80ff55acb8428b273a20 (patch)
tree6c0cab62b5de3018e4dd1cdbc3a55a3d47cec231 /Dockerfile
parenta74ec89461929e8521cc2285be6d96c5abac8462 (diff)
downloadAFLplusplus-071fcac430dea6208bdb80ff55acb8428b273a20.tar.gz
building docker from cloned repo
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile10
1 files changed, 6 insertions, 4 deletions
diff --git a/Dockerfile b/Dockerfile
index 4026f105..4d9f6e84 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -49,12 +49,14 @@ RUN rm -rf /var/cache/apt/archives/*
ENV LLVM_CONFIG=llvm-config-11
ENV AFL_SKIP_CPUFREQ=1
-RUN git clone https://github.com/AFLplusplus/AFLplusplus /AFLplusplus
-RUN cd /AFLplusplus && export REAL_CXX=g++-10 && export CC=gcc-10 && \
- export CXX=g++-10 && make distrib && make install && make clean
-
RUN git clone https://github.com/vanhauser-thc/afl-cov /afl-cov
RUN cd /afl-cov && make install
+COPY . /AFLplusplus
+WORKDIR /AFLplusplus
+
+RUN export REAL_CXX=g++-10 && export CC=gcc-10 && \
+ export CXX=g++-10 && make clean && make distrib && make install && make clean
+
RUN echo 'alias joe="jupp --wordwrap"' >> ~/.bashrc