Let "make shell xxx" respect GOPROXY

This commit mitigates the issue for running "make update" locally when
the network is not friendly for accessing the default "proxy.golang.org"

Signed-off-by: Daniel Jiang <jiangd@vmware.com>
pull/5128/head
Daniel Jiang 2022-07-18 19:11:53 +08:00
parent 56939937a8
commit 9173ac117e
2 changed files with 2 additions and 0 deletions

View File

@ -163,6 +163,7 @@ shell: build-dirs build-env
@# under $GOPATH).
@docker run \
-e GOFLAGS \
-e GOPROXY \
-i $(TTY) \
--rm \
-u $$(id -u):$$(id -g) \

View File

@ -0,0 +1 @@
Let "make shell xxx" respect GOPROXY