-
Notifications
You must be signed in to change notification settings - Fork 18
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
Build squash image for size reduction. #52
Comments
With I'm not sure what the default compression level is, but compression method and compression level can be tweaked: https://github.com/moby/buildkit#imageregistry You can additionally achieve lazy-pulling capabilities if you set estargz+oci-mediatypes like:
although I'm not sure if that feature is completely stable. Regarding sharing layers across builds: to optimize the sharing/re-using there is |
Bitnami is already using squashed images.
So Bitnami's Dockerfile operates as a single layer, which eliminates duplication of binary capacity due to factors such as permission changes included in the Dockerfile. |
ok awesome and good to know :) thanks! |
List of attempts
|
Build squash image for size reduction.
The text was updated successfully, but these errors were encountered: