diff options
| author | van Hauser <vh@thc.org> | 2021-03-24 18:19:45 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-03-24 18:19:45 +0100 |
| commit | c2b58cff6fa7d6af766cc6f686046d7e043a3977 (patch) | |
| tree | 0c04cd932d129b45e31fd17c328844295677ca5f /Dockerfile | |
| parent | 958436be4ba057e8409787e7ff4ddcfa095c46da (diff) | |
| parent | 6e2a0ef233fc09e8751e2d4cba3298610d8bed2c (diff) | |
| download | afl++-c2b58cff6fa7d6af766cc6f686046d7e043a3977.tar.gz | |
Merge pull request #843 from AFLplusplus/tmp
Tmp
Diffstat (limited to 'Dockerfile')
| -rw-r--r-- | Dockerfile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/Dockerfile b/Dockerfile index 8779fee5..1cb00d5d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,6 +11,8 @@ LABEL "about"="AFLplusplus docker image" ARG DEBIAN_FRONTEND=noninteractive +env NO_ARCH_OPT 1 + RUN apt-get update && \ apt-get -y install --no-install-suggests --no-install-recommends \ automake \ @@ -48,16 +50,16 @@ RUN update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-10 0 ENV LLVM_CONFIG=llvm-config-12 ENV AFL_SKIP_CPUFREQ=1 +ENV AFL_I_DONT_CARE_ABOUT_MISSING_CRASHES=1 -RUN git clone https://github.com/vanhauser-thc/afl-cov /afl-cov +RUN git clone --depth=1 https://github.com/vanhauser-thc/afl-cov /afl-cov 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 CFLAGS="-O3 -funroll-loops -D_FORTIFY_SOURCE=2" && make install && make clean +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 |
