1
0
mirror of https://github.com/raseels-repos/golang-saas-starter-kit.git synced 2025-08-08 22:36:41 +02:00

enable builds to use GOPROXY

This commit is contained in:
Lee Brown
2019-08-26 17:01:58 -08:00
parent 85ef8070ce
commit e87ad3f8a2
5 changed files with 9 additions and 2 deletions

View File

@ -25,6 +25,8 @@ RUN GO111MODULE=on go get -u github.com/geeks-accelerator/swag/cmd/swag
WORKDIR $GOPATH/src/gitlab.com/geeks-accelerator/oss/saas-starter-kit
# Enable go modules.
ARG GOPROXY=https://goproxy.io
ENV GOPROXY=$GOPROXY
ENV GO111MODULE="on"
COPY go.mod .
COPY go.sum .