Skip to content

Commit

Permalink
fix: added option -trimpath
Browse files Browse the repository at this point in the history
  • Loading branch information
jibon57 committed Nov 11, 2024
1 parent de8f4dd commit 6b355d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 6b355d9

Please sign in to comment.