diff --git a/cmd/bpf2go/main_test.go b/cmd/bpf2go/main_test.go index 3a62cd3f5..da0eca972 100644 --- a/cmd/bpf2go/main_test.go +++ b/cmd/bpf2go/main_test.go @@ -90,6 +90,8 @@ func main() { goBuild.Env = append(os.Environ(), "GOOS=linux", "GOARCH="+arch, + "GOPROXY=off", + "GOSUMDB=off", ) out, err := goBuild.CombinedOutput() if err != nil {