[pkg-go] Bug#1130252: podman: build --squash is not squashing the built images
Reinhard Tartler
siretart at debian.org
Fri Mar 13 12:44:21 GMT 2026
Control: tag -1 moreinfo upstream
On 2026-03-10 06:21, Jonathan Dowland wrote:
> Package: podman
> Version: 5.7.0+ds2-3
> Severity: normal
>
> podman has two squashing build parameters:
>
> --squash
> Squash all of the image's new layers into a single new layer;
> any preexisting layers are not squashed.
>
> --squash-all
> Squash all of the new image's layers (including those inherited
> from a base image) into a single new layer.
>
> The '--squash' parameter doesn't work. Note from the below session
> excerpt, the image checksum for '--squash' and '<nothing>' are
> identical, and contain 23 layers.
>
> Expected behaviour would be base image + 1. In this case base image has
> 22. (I can provide this container source if requested, but it's not
> relevant)
Hello Jonathan,
Thank you for the detailed bug report regarding the squashing behavior
in Podman 5.7.0, and for your follow-up tests confirming the expected
behavior in version 5.8.0 on Fedora.
Version 5.8.0+ds1-1 is currently available in the experimental suite.
Could you please test this version against your container source and
report back to confirm if it resolves the issue on Debian?
Regards,
-rt
More information about the Pkg-go-maintainers
mailing list