diff --git a/deployment/docker/Makefile b/deployment/docker/Makefile index a4eceaa5c..00b395606 100644 --- a/deployment/docker/Makefile +++ b/deployment/docker/Makefile @@ -34,7 +34,7 @@ app-via-docker: package-builder --env GO111MODULE=on \ $(DOCKER_OPTS) \ $(BUILDER_IMAGE) \ - go build $(RACE) -mod=vendor -trimpath \ + go build $(RACE) -mod=vendor -trimpath -buildvcs=false \ -ldflags "-extldflags '-static' $(GO_BUILDINFO)" \ -tags 'netgo osusergo nethttpomithttp2 musl' \ -o bin/$(APP_NAME)$(APP_SUFFIX)-prod $(PKG_PREFIX)/app/$(APP_NAME) @@ -50,7 +50,7 @@ app-via-docker-windows: package-builder --env GO111MODULE=on \ $(DOCKER_OPTS) \ $(BUILDER_IMAGE) \ - go build $(RACE) -mod=vendor -trimpath \ + go build $(RACE) -mod=vendor -trimpath -buildvcs=false \ -ldflags "-s -w -extldflags '-static' $(GO_BUILDINFO)" \ -tags 'netgo osusergo nethttpomithttp2' \ -o bin/$(APP_NAME)-windows$(APP_SUFFIX)-prod.exe $(PKG_PREFIX)/app/$(APP_NAME)