mirror of
https://github.com/gomods/athens
synced 2026-02-03 11:00:32 +00:00
fix: go in docker failing (#1989)
Co-authored-by: Matt <matt.ouille@protonmail.com>
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user