summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorValentin Rothberg <rothberg@redhat.com>2019-08-30 10:32:29 +0200
committerValentin Rothberg <rothberg@redhat.com>2019-08-30 10:32:29 +0200
commit90ebd7c90993b33d1210187a6a2871d9d4b34547 (patch)
tree019703e8cf0fe9c96e0bcff699013a7db7e1277c /Makefile
parentd110998744e816895b0a9d9bb90a02cd5d12df7b (diff)
downloadpodman-90ebd7c90993b33d1210187a6a2871d9d4b34547.tar.gz
podman-90ebd7c90993b33d1210187a6a2871d9d4b34547.tar.bz2
podman-90ebd7c90993b33d1210187a6a2871d9d4b34547.zip
Makefile: use go proxy
Use GOPROXY=https://proxy.golang.org to speed up fetching dependencies. Setting it makes `make vendor` three times faster in my local env. For details please refer to https://proxy.golang.org/. Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 1a3d03f8a..4f51adb67 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,5 @@
export GO111MODULE=off
+export GOPROXY=https://proxy.golang.org
GO ?= go
DESTDIR ?=