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