This commit is contained in:
aichy 2023-08-02 11:48:09 +08:00
parent 37852646b4
commit ef6c4402cf
1 changed files with 2 additions and 1 deletions

View File

@ -3,7 +3,8 @@ LABEL maintainer="aichy@sf.com"
ARG GOPROXY ARG GOPROXY
# ENV GOPROXY ${GOPROXY:-direct} # ENV GOPROXY ${GOPROXY:-direct}
ENV GOPROXY=https://mirrors.aliyun.com/goproxy/ ENV GOPROXY=https://proxy.golang.com.cn,direct
ENV GOPROXY=https://proxy.golang.com.cn,direct
ENV GOPATH /go ENV GOPATH /go
ENV GOROOT /usr/local/go ENV GOROOT /usr/local/go