Files
crun/tests/fuzzing/Dockerfile
Giuseppe Scrivano c5d5f185a1 tests: install honggfuzz from sources
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2025-12-09 11:01:08 +01:00

17 lines
564 B
Docker

FROM fedora:latest
RUN dnf install -y awk golang python git automake autoconf libcap-devel \
systemd-devel yajl-devel libseccomp-devel go-md2man \
glibc-static python3-libmount libtool make git libunwind-devel binutils-devel xz-devel \
libatomic clang
RUN git clone https://github.com/giuseppe/containers-fuzzing-corpus /testcases
RUN git clone --depth 1 https://github.com/google/honggfuzz.git && cd honggfuzz && make -j $(nproc) && make install PREFIX=/usr
COPY run-tests.sh /usr/local/bin
WORKDIR /crun
ENTRYPOINT /usr/local/bin/run-tests.sh