From dc5a09cbb35c9c5bbf192c86c6865a0ca7e7ea16 Mon Sep 17 00:00:00 2001 From: Maxim Babichev Date: Sat, 9 Dec 2023 18:41:13 +0300 Subject: [PATCH] -ldflags "-s -w" --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 2c79da3e..c2f0bce8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -24,9 +24,9 @@ RUN mkdir /proto /stubs &&\ ln -s /go/src/github.com/bavix/gripmock/fix_gopackage.sh /bin/ RUN cd /go/src/github.com/bavix/gripmock/protoc-gen-gripmock &&\ - go install -v &&\ + go install -v -ldflags "-s -w" &&\ cd /go/src/github.com/bavix/gripmock &&\ - go install -v + go install -v -ldflags "-s -w" WORKDIR /go/src/github.com/bavix/gripmock