fuzz: Reuse go cache from host

Signed-off-by: Paulo Gomes <paulo.gomes@weave.works>
This commit is contained in:
Paulo Gomes 2022-09-02 17:51:28 +01:00
parent 50ef51b59d
commit e26f8b4fc6
No known key found for this signature in database
GPG Key ID: 9995233870E99BEE
1 changed files with 1 additions and 0 deletions

View File

@ -244,6 +244,7 @@ fuzz-build: $(LIBGIT2)
fuzz-smoketest: fuzz-build
docker run --rm \
-v "$(BUILD_DIR)/fuzz/out":/out \
-v "$(shell go env GOMODCACHE):/root/go/pkg/mod" \
-v "$(shell pwd)/tests/fuzz/oss_fuzz_run.sh":/runner.sh \
local-fuzzing:latest \
bash -c "/runner.sh"