diff options
author | Antoine GIRARD | 2019-08-04 23:58:16 +0200 |
---|---|---|
committer | Lauris BH | 2019-08-05 00:58:16 +0300 |
commit | cd238bc41598e69a78b4d17370c8929911c5f249 (patch) | |
tree | f02847e44e274128eceafc1d8ea72d1aaf82c1bf /Dockerfile | |
parent | 5b902e2368fdb67eda4ba033f7167fadf72e4350 (diff) |
build: use GOPROXY and disable download on some steps (#7745)
* build: use GOPROXY
* disable download vendor on some steps
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile index f13fdbe55..6fa367a3e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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" |