Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions .clusterfuzzlite/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# SPDX-License-Identifier: MPL-2.0
# ClusterFuzzLite build image for rpa-elysium (language: rust).
#
# Per ClusterFuzzLite's build-integration docs, this file MUST be named
# `Dockerfile` inside `.clusterfuzzlite/` — the build action looks for
# exactly that path. The repo previously shipped the same content as
# `.clusterfuzzlite/Containerfile`, which the action never reads; every
# fuzz run failed with "failed to read dockerfile: open Dockerfile: no
# such file or directory".
FROM gcr.io/oss-fuzz-base/base-builder-rust

RUN apt-get update && apt-get install -y make autoconf automake libtool

# base-builder-rust ships the pinned nightly toolchain and cargo-fuzz
# pre-installed (see CFL docs, "Integrating a Rust project"); nothing
# else to install for this project.

COPY . $SRC/project
WORKDIR $SRC/project

COPY .clusterfuzzlite/build.sh $SRC/
2 changes: 1 addition & 1 deletion .clusterfuzzlite/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# 'nightly' is not installed".
# * $SANITIZER is exported by ClusterFuzzLite (address | undefined) and must
# be forwarded so each matrix build instruments for its own sanitizer.
# * cargo-fuzz is installed by the root Dockerfile.
# * cargo-fuzz ships pre-installed in base-builder-rust (CFL rust docs).
cd "$SRC/project"
cargo fuzz build --release --sanitizer "$SANITIZER"
# Copy only the fuzz binary — the `fuzz_*` glob also matched .d files.
Expand Down
21 changes: 0 additions & 21 deletions Dockerfile

This file was deleted.

Loading