-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathDockerfile.oracle9
47 lines (40 loc) · 991 Bytes
/
Dockerfile.oracle9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
FROM oraclelinux:9 AS deps
RUN dnf install --assumeyes \
ca-certificates \
curl \
gdb \
git \
gnupg
RUN dnf install --assumeyes \
graphviz \
clang \
libcurl-devel \
llvm-devel \
lld \
python3-devel \
python3-pip \
python3-setuptools \
cmake \
zlib-devel
ENV LLVM_CONFIG=llvm-config-17
FROM deps AS aflpp
# Clone and build AFL++
RUN set -ex \
&& cd /usr/local/src \
&& git clone --depth 1 -b v4.10c https://github.com/AFLplusplus/AFLplusplus.git \
&& cd AFLplusplus \
&& make all \
&& make install \
&& set +ex
FROM aflpp AS vmf
# Clone, build, install VMF
RUN set -ex \
&& cd /usr/local/src \
&& git clone --depth 1 https://github.com/draperlaboratory/vadermodularfuzzer.git vmf\
&& cd vmf \
&& mkdir -p build \
&& cd build \
&& cmake -DCMAKE_INSTALL_PREFIX=/usr/local .. \
&& make -j \
&& make install \
&& set +ex