Use GOPROXY to speed up builds (#7984)

Read more here https://proxy.golang.org proposal 
for go1.13
This commit is contained in:
Harshavardhana
2019-07-30 09:57:11 -07:00
committed by Nitish Tiwari
parent 63e0a81760
commit b83413b167
13 changed files with 29 additions and 22 deletions

View File

@@ -8,6 +8,7 @@ WORKDIR /go/src/github.com/minio/minio
RUN apt-get update && apt-get install -y jq
ENV GO111MODULE=on
ENV GOPROXY=https://proxy.golang.org
RUN git config --global http.cookiefile /gitcookie/.gitcookie