From 5afc762096d2306fb78ce52be652dc24557e38a7 Mon Sep 17 00:00:00 2001 From: Andrea Luzzardi Date: Mon, 5 Apr 2021 14:31:24 -0700 Subject: [PATCH] stdlib: go: set GOMODCACHE directory Signed-off-by: Andrea Luzzardi --- stdlib/go/go.cue | 1 + 1 file changed, 1 insertion(+) 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