-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Add squash option to podman commit #12889
Comments
at @vrothberg wdyt? |
Thanks for the proposal, @pbrezina! I think it's fairly easy to get done since the backend in Buildah already supports squashing on commit. What had to be done is to extend the Podman CLI with a @ncrowe2000, that would a cool project to work on when you find time. |
Thank you for looking into it. To explain the use case - I want to setup some applications that requires systemd and a specific hostname (FreeIPA precisely), which is currently not possible to do during build time. But I also want to trim down unneeded layer to reduce size of the resulting image. |
A friendly reminder that this issue had no activity for 30 days. |
@flouthoc PTAL |
ackd. I'll take a look. |
Above PR should close this. |
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind feature
Description
Please, add --squash option to
podman commit
so the new image does not create a new layer but is instead squashed to the latest layer.The text was updated successfully, but these errors were encountered: