From b3ec0fb5e26e7b0414e77d6cf02ec341a915a4e1 Mon Sep 17 00:00:00 2001 From: faceair Date: Wed, 20 May 2020 06:21:46 +0800 Subject: [PATCH] keep debug symbols (#438) Co-authored-by: Aliaksandr Valialkin --- deployment/docker/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deployment/docker/Makefile b/deployment/docker/Makefile index c0cef59e7..1c0558c75 100644 --- a/deployment/docker/Makefile +++ b/deployment/docker/Makefile @@ -33,7 +33,7 @@ app-via-docker: package-base package-builder $(DOCKER_OPTS) \ $(BUILDER_IMAGE) \ go build $(RACE) -mod=vendor -trimpath \ - -ldflags "-s -w -extldflags '-static' $(GO_BUILDINFO)" \ + -ldflags "-extldflags '-static' $(GO_BUILDINFO)" \ -tags 'netgo osusergo nethttpomithttp2' \ -o bin/$(APP_NAME)$(APP_SUFFIX)-prod $(PKG_PREFIX)/app/$(APP_NAME)