From aae843287007a1692d561a5bbde07f09fced25f0 Mon Sep 17 00:00:00 2001 From: "Michael L. Young" Date: Thu, 19 Aug 2021 22:41:10 -0400 Subject: [PATCH] Use Module Mirror For Downloads - By using the module mirror, we get around the issue of using an older git client such as that which comes with CentOS 7. - Using a module mirror helps to speed up module downloads. Fixes #89 --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index d2fc0b91..e25436a7 100644 --- a/Makefile +++ b/Makefile @@ -12,6 +12,10 @@ GO_TOOLS_VENDOR := $(addprefix vendor/, $(GO_TOOLS)) GOLANGCI_LINT := $(TOOLS_BIN)/golangci-lint GOLANGCI_LINT_VERSION := v1.31.0 +# use GOPROXY for older git clients and speed up downloads +GOPROXY ?= https://proxy.golang.org +export GOPROXY + # built tags needed for wwbuild binary WW_BUILD_GO_BUILD_TAGS := containers_image_openpgp containers_image_ostree