diff options
author | David Carlier <devnexen@gmail.com> | 2019-11-04 15:37:56 +0000 |
---|---|---|
committer | David Carlier <devnexen@gmail.com> | 2019-11-04 15:37:56 +0000 |
commit | 14c359700b6b1d4408853f878931937ac586059c (patch) | |
tree | 628533d67b561cf00cddedb8aaeaaec4993d8532 | |
parent | e2442f747179bef2f96ca11db5fe89a6c6a4bcaa (diff) | |
download | afl++-14c359700b6b1d4408853f878931937ac586059c.tar.gz |
Basic docker build proposal.
-rw-r--r-- | Dockerfile | 21 | ||||
-rw-r--r-- | docs/QuickStartGuide.txt | 2 |
2 files changed, 23 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 00000000..af85ee8d --- /dev/null +++ b/Dockerfile @@ -0,0 +1,21 @@ +FROM gcc:8.3.0 + +RUN apt-get update && apt-get install -y --no-install-recommends \ + automake \ + bison \ + clang \ + flex \ + gcc-8-plugin-dev \ + libc++-7-dev \ + libtool \ + libtool-bin \ + llvm-7-tools \ + python-setuptools \ + && rm -fr /var/lib/apt/lists/* +RUN mkdir /app +WORKDIR ["/app"] +COPY . . +ENV CC=gcc-8 +ENV CXX=g++-8 +ENV LLVM_CONFIG=llvm-config-7 +RUN make clean && make distrib && make tests diff --git a/docs/QuickStartGuide.txt b/docs/QuickStartGuide.txt index 9190dc98..723611e3 100644 --- a/docs/QuickStartGuide.txt +++ b/docs/QuickStartGuide.txt @@ -45,6 +45,8 @@ how to hit the ground running: 7) compile and use llvm_mode (afl-clang-fast/afl-clang-fast++) as it is way faster and has a few cool features +8) There is a basic docker build with 'docker build -t aflplusplus .' + That's it. Sit back, relax, and - time permitting - try to skim through the following files: |