diff options
-rw-r--r-- | Dockerfile | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/Dockerfile b/Dockerfile index 558968d8..c62cbdab 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 |