--- Makefile.orig 2020-12-13 17:00:21.000000000 +0000 +++ Makefile 2020-12-13 16:53:16.000000000 +0000 @@ -79,10 +79,10 @@ get-version: version/version.json jq -r .build_version version/version.json -build-%: version vendor/modules.txt +build-%: version @go version GOOS=$(GOBUILD_GOOS) GOARCH=$(GOBUILD_GOARCH) CC=$(GOBUILD_CC) CXX=$(GOBUILD_CXX) \ - go build -mod=vendor -tags $(GOBUILD_TAGS) -ldflags '-s -w '$(GOBUILD_LDFLAGS) -o $(OUT) $(PKG) + go build -tags $(GOBUILD_TAGS) -ldflags '-s -w '$(GOBUILD_LDFLAGS) -o $(OUT) $(PKG) docker-build-%: docker run -i --rm \