diff --git a/Makefile b/Makefile index ecbc4e2ab..a6835c879 100644 --- a/Makefile +++ b/Makefile @@ -172,6 +172,7 @@ fuzz-build: docker run --rm \ -e FUZZING_LANGUAGE=go -e SANITIZER=address \ -e CIFUZZ_DEBUG='True' -e OSS_FUZZ_PROJECT_NAME=fluxcd \ + -v "$(shell go env GOMODCACHE):/root/go/pkg/mod" \ -v "$(BUILD_DIR)/fuzz/out":/out \ local-fuzzing:latest