fix: go in docker failing (#1989)

Co-authored-by: Matt <matt.ouille@protonmail.com>
This commit is contained in:
Nicholas Wiersma
2024-10-07 21:22:53 +02:00
committed by GitHub
parent 74b3cf5082
commit 2712e2ef17
2 changed files with 8 additions and 4 deletions
+2
View File
@@ -29,6 +29,8 @@ func prepareEnv(gopath string, envVars []string) []string {
"HTTP_PROXY",
"HTTPS_PROXY",
"NO_PROXY",
// GOROOT needs to be propagated if it exists.
"GOROOT",
// Need to also check the lower case version of just these three env variables.
"http_proxy",
"https_proxy",