Skip to content

Commit 8bf14ef

Browse files
committed
makefile: use host GOPROXY value for %-in-docker
The host may have a value defined for GOPROXY that should still be respected inside containers used for building Go programs. Signed-off-by: Samuel Karp <[email protected]>
1 parent 37b2de2 commit 8bf14ef

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ $(SUBDIRS):
6262
--env GOPATH=/go \
6363
--env GO111MODULES=on \
6464
--env STATIC_AGENT=on \
65+
--env GOPROXY=$(shell go env GOPROXY) \
6566
--workdir /src \
6667
$(FIRECRACKER_CONTAINERD_BUILDER_IMAGE) \
6768
$(MAKE) $(subst -in-docker,,$@)

0 commit comments

Comments
 (0)