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

Reduce Docker image size and improve security #844

Open
2 tasks done
reneleonhardt opened this issue Oct 18, 2023 · 1 comment
Open
2 tasks done

Reduce Docker image size and improve security #844

reneleonhardt opened this issue Oct 18, 2023 · 1 comment

Comments

@reneleonhardt
Copy link

Welcome!

Proposal

I was able to reduce the Docker image size by 77% (8.6 MB instead of 38.8 MB in v1.4.8) by compressing the static binary and switching from alpine to scratch, only a few lines had to be changed.
Of course the security attack surface shrank massively too, no other binaries or libs with new CVEs every week.

Background

The Docker images are not being rebuilt regularly to address CVEs, so reducing the attack surface improves security by a long shot.
Smaller images start faster and make development easier when running integration tests again and again.

Workarounds

I have to rebuild mesh if I want to improve security, the project should do it so all users can enjoy these official improvements.

@shkarface
Copy link

Is this repo active at all?

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

No branches or pull requests

2 participants