Skip to content

Commit 1705ee0

Browse files
authored
Merge pull request #684 from thaJeztah/use_goproxy_by_default
[master] Makefile: enable GOPROXY to work around vanity URL being offline
2 parents 015bb44 + 1dfe9a2 commit 1705ee0

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

deb/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ BUILD?=DOCKER_BUILDKIT=1 \
2828
RUN_FLAGS=
2929
RUN?=docker run --rm \
3030
-e PLATFORM \
31+
-e GOPROXY=https://proxy.golang.org \
3132
-e EPOCH='$(EPOCH)' \
3233
-e DEB_VERSION=$(word 1, $(GEN_DEB_VER)) \
3334
-e VERSION=$(word 2, $(GEN_DEB_VER)) \

rpm/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ RPMBUILD_FLAGS?=-ba\
5050
RUN_FLAGS=
5151
RUN?=docker run --rm \
5252
-e PLATFORM \
53+
-e GOPROXY=https://proxy.golang.org \
5354
-v $(CURDIR)/rpmbuild/SOURCES:/root/rpmbuild/SOURCES:ro \
5455
-v $(CURDIR)/rpmbuild/$@/RPMS:/root/rpmbuild/RPMS \
5556
-v $(CURDIR)/rpmbuild/$@/SRPMS:/root/rpmbuild/SRPMS \

0 commit comments

Comments
 (0)