about summary refs log tree commit diff
path: root/Dockerfile
diff options
context:
space:
mode:
authorDavid Carlier <dcarlier@afilias.info>2019-11-07 11:52:04 +0000
committerDavid Carlier <dcarlier@afilias.info>2019-11-07 11:52:04 +0000
commitb92da08ae8cbe8795e39c981525548bca0ce5607 (patch)
treee4c9600935c77e590f62af969da6cce4ccba3179 /Dockerfile
parent7b82ef22bea26b7f867cff21de2866b74f4f9dc1 (diff)
parent499f078c3759a22dd5cfd81d2271969f19b75090 (diff)
downloadafl++-b92da08ae8cbe8795e39c981525548bca0ce5607.tar.gz
Taking in account last changes
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile27
1 files changed, 27 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 00000000..558968d8
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,27 @@
+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 \
+    automake \
+    bison \
+    build-essential \
+    clang \
+    clang-9 \
+    flex \
+    gcc-9 \
+    gcc-9-plugin-dev \
+    libc++-9-dev \
+    libtool \
+    libtool-bin \
+    libglib2.0-dev \
+    llvm-9-tools \
+    python-setuptools \
+    wget \
+    && rm -fr /var/lib/apt/lists/*
+RUN mkdir /app
+WORKDIR ["/app"]
+COPY . .
+ENV CC=gcc-9
+ENV CXX=g++-9
+ENV LLVM_CONFIG=llvm-config-9
+RUN make clean && make distrib && make install