aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-08-03 11:50:10 +0200
committervan Hauser <vh@thc.org>2020-08-03 11:50:10 +0200
commitf335c48686c2f4119d1d0b1207f5d5ceb3d4ff04 (patch)
tree3efb3efbbf7cfe9fb3fd2da92021467bd4e26cab /Dockerfile
parent9d82c3cf5e131030073d6a4df1b2102573a8ace4 (diff)
downloadAFLplusplus-f335c48686c2f4119d1d0b1207f5d5ceb3d4ff04.tar.gz
better PS1 in dockerfile
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile8
1 files changed, 5 insertions, 3 deletions
diff --git a/Dockerfile b/Dockerfile
index 4d9f6e84..64b04ba6 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -50,13 +50,15 @@ ENV LLVM_CONFIG=llvm-config-11
ENV AFL_SKIP_CPUFREQ=1
RUN git clone https://github.com/vanhauser-thc/afl-cov /afl-cov
-RUN cd /afl-cov && make install
+RUN cd /afl-cov && make install && cd ..
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
+ export CXX=g++-10 && make clean && \
+ make distrib && make install && make clean
RUN echo 'alias joe="jupp --wordwrap"' >> ~/.bashrc
-
+RUN echo 'export PS1="[afl++]$PS1"' >> ~/.bashrc
+ENV IS_DOCKER="1"