Skip to content

Commit

Permalink
🔧 (ci): Add -trimpath flag
Browse files Browse the repository at this point in the history
  • Loading branch information
gabe565 committed Apr 18, 2023
1 parent 0e5b183 commit cc28b2b
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 @@ -19,7 +19,7 @@ RUN --mount=type=cache,id="transsmute-$TARGETPLATFORM",target=/root/.cache \
'linux/arm64') export GOARCH=arm64 ;; \
*) echo "Unsupported target: $TARGETPLATFORM" && exit 1 ;; \
esac \
&& go build -ldflags='-w -s'
&& go build -ldflags='-w -s' -trimpath


FROM alpine
Expand Down

0 comments on commit cc28b2b

Please sign in to comment.