build: use GOPROXY and disable download on some steps (#7745)

* build: use GOPROXY

* disable download vendor on some steps
This commit is contained in:
Antoine GIRARD authored and Lauris BH committed 2019-08-05 00:58:16 +03:00
1 parent 5b902e2368
commit cd238bc415
2 files changed
+26

No files matched your search

+3
View File
@@ -3,6 +3,9 @@
#Build stage
FROM golang:1.12-alpine3.10 AS build-env
ARG GOPROXY
ENV GOPROXY ${GOPROXY:-direct}
ARG GITEA_VERSION
ARG TAGS="sqlite sqlite_unlock_notify"
ENV TAGS "bindata $TAGS"