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

[DRAFT][Dockerfile] Use Minimal Base Images #45

Open
yelghali opened this issue Apr 6, 2023 · 0 comments
Open

[DRAFT][Dockerfile] Use Minimal Base Images #45

yelghali opened this issue Apr 6, 2023 · 0 comments

Comments

@yelghali
Copy link

yelghali commented Apr 6, 2023

One such example is alpine base images. Alpine images can be as small as a few MB.

By default, it comes with the sh shell that helps debug the container by attaching it.

You can further reduce the base image size using distroless images. It is a stripped-down version of the operating system. Distroless base images are available for java, nodejs, python, Rust, etc.

To help you make your container smallers and more optimized, you can use tools like: https://github.com/slimtoolkit/slim

@jhertout jhertout transferred this issue from green-code-initiative/creedengo-challenge May 21, 2024
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