about summary refs log tree commit diff
diff options
context:
space:
mode:
authorvanhauser-thc <vh@thc.org>2021-05-26 23:15:29 +0200
committervanhauser-thc <vh@thc.org>2021-05-26 23:15:38 +0200
commit9e0370aa997ec8d0729ea695e74f9529baedd3a0 (patch)
tree18b8290754bc9fcd53333d14705c068b52fbe4f3
parent73f4d44ddcb49ffe98f4a2313120dbdbda202c5c (diff)
downloadafl++-9e0370aa997ec8d0729ea695e74f9529baedd3a0.tar.gz
update dockerfile
-rw-r--r--Dockerfile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile
index 9662ca7c..18fb6367 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -62,8 +62,10 @@ WORKDIR /AFLplusplus
 RUN export CC=gcc-10 && 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
+RUN sh -c 'echo set encoding=utf-8 > /root/.vimrc'
+RUN echo '. /etc/bash_completion' >> ~/.bashrc
+RUN echo 'alias joe="joe --wordwrap --joe_state -nobackup"' >> ~/.bashrc
+RUN echo "export PS1='"'[afl++ \h] \w$(__git_ps1) \$ '"'" >> ~/.bashrc
 ENV IS_DOCKER="1"
 
 # Disabled until we have the container ready