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
This commit is contained in:
Michael L. Young
2021-08-19 22:41:10 -04:00
parent 0bbfa3060b
commit aae8432870

View File

@@ -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