services:
fuzz:
build:
context: .
dockerfile: Dockerfile.fuzz
image: crabgraph-fuzz:latest
container_name: crabgraph-fuzz
volumes:
- .:/workspace
- cargo-cache:/usr/local/cargo/registry
- cargo-git-cache:/usr/local/cargo/git
- target-cache:/workspace/target
- fuzz-corpus:/workspace/fuzz/corpus
environment:
- RUST_BACKTRACE=1
- RUSTFLAGS=-Zsanitizer=address
- CARGO_INCREMENTAL=0 working_dir: /workspace
volumes:
cargo-cache:
name: crabgraph-cargo-cache
cargo-git-cache:
name: crabgraph-cargo-git-cache
target-cache:
name: crabgraph-target-cache
fuzz-corpus:
name: crabgraph-fuzz-corpus