diff --git a/stdlib/go/go.cue b/stdlib/go/go.cue index 1a912d47..f1afce9a 100644 --- a/stdlib/go/go.cue +++ b/stdlib/go/go.cue @@ -27,6 +27,7 @@ import ( "env": env "env": CGO_ENABLED: "0" + "env": GOMODCACHE: "/root/.cache/gocache" dir: "/src" mount: "/src": from: source