From 3a991eca99da5577ec8a4fc1bc8ba58fd59a1c3c Mon Sep 17 00:00:00 2001 From: Bryan Boreham Date: Mon, 13 Jan 2020 17:29:07 +0000 Subject: [PATCH] build: use vendored files when building --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 6eb423935..200a5ecb9 100644 --- a/Makefile +++ b/Makefile @@ -24,7 +24,7 @@ RUN_FLAGS=-ti BUILD_IN_CONTAINER=true GO_ENV=GOGC=off GO_BUILD_TAGS='netgo unsafe' -GO_BUILD_FLAGS=-ldflags "-extldflags \"-static\" -X main.version=$(SCOPE_VERSION) -s -w" -tags $(GO_BUILD_TAGS) +GO_BUILD_FLAGS=-mod vendor -ldflags "-extldflags \"-static\" -X main.version=$(SCOPE_VERSION) -s -w" -tags $(GO_BUILD_TAGS) GOOS=$(shell go tool dist env | grep GOOS | sed -e 's/GOOS="\(.*\)"/\1/') ifeq ($(GOOS),linux)