Merge pull request #280 from dagger/stdlib-go-cache

stdlib: go: set GOMODCACHE directory
This commit is contained in:
Andrea Luzzardi 2021-04-05 17:09:45 -07:00 committed by GitHub
commit 74e4f4b814
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,6 +27,7 @@ import (
"env": env "env": env
"env": CGO_ENABLED: "0" "env": CGO_ENABLED: "0"
"env": GOMODCACHE: "/root/.cache/gocache"
dir: "/src" dir: "/src"
mount: "/src": from: source mount: "/src": from: source