# GOPATH and GOMODCACHE are not shared with the host, # but GOCACHE is. go env stdout GOPATH=.*${WORK@R} stdout GOMODCACHE=.*${WORK@R} ! stdout GOCACHE=.*${WORK@R}