From 23708a8aff583c0b2ee27d252a00c5ea238043b4 Mon Sep 17 00:00:00 2001 From: loong <21272660+vinloong@users.noreply.github.com> Date: Mon, 20 Jun 2022 20:54:10 +0800 Subject: [PATCH] update dockerfile set proxy --- 1.18/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/1.18/Dockerfile b/1.18/Dockerfile index 3c2c39e..d20a029 100644 --- a/1.18/Dockerfile +++ b/1.18/Dockerfile @@ -100,7 +100,9 @@ RUN set -eux; \ \ go version -ENV GOPATH /go +ENV GOPATH="/go" \ + GOPROXY="https://goproxy.cn,direct" + ENV PATH $GOPATH/bin:$PATH RUN mkdir -p "$GOPATH/src" "$GOPATH/bin" && chmod -R 777 "$GOPATH" WORKDIR $GOPATH