google / google/oss-fuzz

build_fuzzers: allow or default to adding additional docker volume mounts

Open
#8,311 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
12.6k
Forks
2.9k
Avg merge
2d 2h
Merged PRs (30d)
62

Description

Currently for go fuzzers (at least), we build everything with no caching. This means downloading all modules again, building from scratch, etc.

It would be nice to mount build/module caches, or at least allow this as an option via environment variable, to speed up builds when using `python infra/helper.py build_image`

Contributor guide

Open the contributing guide

Research direction

Start with python infra/helper.py build_image and trace how build_fuzzers invokes Docker. Check how Go module and build caches are handled during the image build, then verify that additional volume mounts can be enabled by an environment variable or default behavior and that the build completes with the requested caches available.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, go, python
Domain
build-system, devops
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.