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.
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
