Browse Source

update dockerfile set proxy

main
loong 2 years ago
parent
commit
23708a8aff
  1. 4
      1.18/Dockerfile

4
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

Loading…
Cancel
Save