From dfa3537e949412b671f65abb29a51a324e8cb2ab Mon Sep 17 00:00:00 2001 From: Paulo Gomes Date: Fri, 2 Sep 2022 17:28:58 +0100 Subject: [PATCH] fuzz: Reuse go cache from host Signed-off-by: Paulo Gomes --- Makefile | 1 + 1 file changed, 1 insertion(+) 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