Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compile as static binary and use distroless static image #123

Merged
merged 1 commit into from
Aug 9, 2023

Conversation

BradLewis
Copy link
Member

@BradLewis BradLewis commented Aug 9, 2023

Compiling the binary as a static binary so we can remove dependency on libc and use the static distroless image. Greatly reduces image size
image
Image says 22.4MB, but actually got it down to 20.8MB

@BradLewis BradLewis requested a review from TheDen August 9, 2023 23:11
Copy link
Member

@TheDen TheDen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! 👍

@BradLewis BradLewis merged commit df2c48f into main Aug 9, 2023
8 checks passed
@BradLewis BradLewis deleted the feature/static-docker-image-and-binary branch August 9, 2023 23:19
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.

2 participants