diff options
author | Kyle Ossinger <k0ss@users.noreply.github.com> | 2019-11-13 02:56:14 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-13 02:56:14 +0000 |
commit | e235c02e1e0b949911212ee024fc882427cc5ba8 (patch) | |
tree | 26952d3ec4759a3a77b49b7679339a3ca70e3cb7 /Dockerfile | |
parent | 02548197e8bdf389d8b11cb0be3299ab1c9f3127 (diff) | |
download | AFLplusplus-e235c02e1e0b949911212ee024fc882427cc5ba8.tar.gz |
Fix docker build
The docker build has never worked for me. I fixed all the build errors, mostly due to missing dependencies. I also fixed silent errors that would allow for the build to finish but wouldn't contain features such as python mutators or QEMU's unsigaction module.
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 17 |
1 files changed, 11 insertions, 6 deletions
@@ -1,7 +1,8 @@ FROM ubuntu:eoan MAINTAINER David Carlier <devnexen@gmail.com> LABEL "about"="AFLplusplus docker image" -RUN apt-get update && apt-get install -y --no-install-recommends \ +RUN apt-get update && apt-get install -y \ + --no-install-suggests --no-install-recommends \ automake \ bison \ build-essential \ @@ -10,18 +11,22 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ flex \ gcc-9 \ gcc-9-plugin-dev \ + gcc-9-multilib \ libc++-9-dev \ libtool \ libtool-bin \ libglib2.0-dev \ - llvm-9-tools \ + llvm-9-dev \ python-setuptools \ + python2.7-dev \ wget \ + ca-certificates \ + libpixman-1-dev \ && rm -fr /var/lib/apt/lists/* RUN mkdir /app -WORKDIR ["/app"] +WORKDIR /app COPY . . -ENV CC=gcc-9 -ENV CXX=g++-9 -ENV LLVM_CONFIG=llvm-config-9 +ARG CC=gcc-9 +ARG CXX=g++-9 +ARG LLVM_CONFIG=llvm-config-9 RUN make clean && make distrib && make install |