From 6447fc17e5257af2771799f352c824b5eed6fcc6 Mon Sep 17 00:00:00 2001 From: van Hauser Date: Wed, 18 Mar 2020 14:52:55 +0100 Subject: keep docker image as small as possible --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index b9b89d8..c73a24f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -33,7 +33,6 @@ RUN git clone https://github.com/vanhauser-thc/AFLplusplus \ && cd AFLplusplus \ && make source-only \ && make install \ - && make clean \ && cd .. RUN mkdir -p /path/to/dyninst/ && ln -s /dyninst/build /path/to/dyninst/build-directory @@ -43,9 +42,10 @@ RUN git clone https://github.com/vanhauser-thc/afl-dyninst \ && ln -s ../AFLplusplus afl \ && make \ && make install \ - && make clean \ && cd .. \ && echo "/usr/local/lib" > /etc/ld.so.conf.d/dyninst.conf && ldconfig \ && echo "export DYNINSTAPI_RT_LIB=/usr/local/lib/libdyninstAPI_RT.so" >> .bashrc +RUN rm -rf afl-dyninst AFLplusplus dyninst + ENV DYNINSTAPI_RT_LIB /usr/local/lib/libdyninstAPI_RT.so -- cgit 1.4.1