From 6b355d9a89c668e400fefbcfea4dcfae54e14bee Mon Sep 17 00:00:00 2001 From: Jibon Date: Mon, 11 Nov 2024 17:27:21 +0100 Subject: [PATCH] fix: added option `-trimpath` --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 10daf72f..3e3c7438 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,7 +17,7 @@ COPY helpers/ helpers/ COPY pkg/ pkg/ COPY version/ version/ -RUN CGO_ENABLED=0 GOOS=linux GOARCH=$TARGETARCH GO111MODULE=on go build -ldflags '-w -s -buildid=' -a -o plugnmeet-server main.go +RUN CGO_ENABLED=0 GOOS=linux GOARCH=$TARGETARCH GO111MODULE=on go build -trimpath -ldflags '-w -s -buildid=' -a -o plugnmeet-server main.go FROM debian:stable-slim