aboutsummaryrefslogtreecommitdiff
path: root/test/travis/bionic
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-04-26 16:51:21 +0200
committerGitHub <noreply@github.com>2020-04-26 16:51:21 +0200
commit62ec52dd956d62957b431ef804b7956124823f00 (patch)
tree706a66892726df089a9d8bf6e8a6e8b1665ff5a8 /test/travis/bionic
parentce9c6df45639db922feafb55259e20c7e82af0bf (diff)
parentea876e59a8c1abc979ea05aa4dbe660608aaa9ba (diff)
downloadafl++-62ec52dd956d62957b431ef804b7956124823f00.tar.gz
Merge pull request #336 from AFLplusplus/dev
pull again ...
Diffstat (limited to 'test/travis/bionic')
-rw-r--r--test/travis/bionic/Dockerfile43
1 files changed, 43 insertions, 0 deletions
diff --git a/test/travis/bionic/Dockerfile b/test/travis/bionic/Dockerfile
new file mode 100644
index 00000000..3883f775
--- /dev/null
+++ b/test/travis/bionic/Dockerfile
@@ -0,0 +1,43 @@
+# This is the Dockerfile for testing problems in Travis build
+# configuration #1.
+# This needs not to be rebuild everytime, most of the time it needs just to
+# be build once and then started when debugging issues and execute:
+# cd /AFLplusplus/
+# git pull
+# make distrib
+#
+FROM ubuntu:bionic
+LABEL "about"="travis image 1"
+RUN apt-get update && apt-get -y install \
+ automake \
+ bison \
+ build-essential \
+ clang \
+ flex \
+ git \
+ python3.7 python3.7-dev \
+ libtool libtool-bin \
+ libglib2.0-dev \
+ python-setuptools \
+ wget \
+ ca-certificates \
+ libpixman-1-dev \
+ gcc-7 gcc-7-plugin-dev libc++-7-dev \
+ findutils \
+ libcmocka-dev \
+ joe nano vim locate \
+ && rm -rf /var/lib/apt/lists/*
+
+ENV AFL_NO_UI=1
+ENV AFL_I_DONT_CARE_ABOUT_MISSING_CRASHES=1
+
+RUN cd / && \
+ git clone https://github.com/AFLplusplus/AFLplusplus && \
+ cd AFLplusplus && \
+ git checkout dev && \
+ cd qemu_mode && wget http://download.qemu-project.org/qemu-3.1.1.tar.xz && \
+ cd ../unicorn_mode && git submodule init && git submodule update || true && \
+ cd /AFLplusplus && ASAN_BUILD=1 make source-only || true
+
+WORKDIR /AFLplusplus
+CMD ["/bin/bash"]