Skip to content

Conversation

@gabe565
Copy link

@gabe565 gabe565 commented Jul 25, 2025

This PR adds -ldflags='-w -s' to the Dockerfile, which instructs the linker to strip debug information, resulting in a smaller binary size. On my machine, this shrinks the image by 17.4 MB, but each GOOS/GOARCH combo will differ slightly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant