From 9173ac117e271bbdd56200c9504b8eb581a45053 Mon Sep 17 00:00:00 2001 From: Daniel Jiang Date: Mon, 18 Jul 2022 19:11:53 +0800 Subject: [PATCH] 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 --- Makefile | 1 + changelogs/unreleased/5128-reasonerjt | 1 + 2 files changed, 2 insertions(+) create mode 100644 changelogs/unreleased/5128-reasonerjt diff --git a/Makefile b/Makefile index 8dcf6ee50..b3a6a32f2 100644 --- a/Makefile +++ b/Makefile @@ -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) \ diff --git a/changelogs/unreleased/5128-reasonerjt b/changelogs/unreleased/5128-reasonerjt new file mode 100644 index 000000000..3ba53b059 --- /dev/null +++ b/changelogs/unreleased/5128-reasonerjt @@ -0,0 +1 @@ +Let "make shell xxx" respect GOPROXY \ No newline at end of file