It works on podman-5.4.0-12.el9_6.x86_64 on RHEL9 (on a different container source). I can't confirm yet whether this is an upstream regression, I need to test more versions.

🍓podman build -t nosquash ./
🍓skopeo inspect containers-storage:localhost/nosquash:latest | jq '.Layers | 
length'
51

🍓podman build -t nosquash --squash ./
🍓skopeo inspect containers-storage:localhost/squash:latest | jq '.Layers | 
length'
2

🍓podman build -t squashall --squash-all ./
🍓skopeo inspect containers-storage:localhost/squashall:latest  | jq 
'.Layers|length'
1


--
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Jonathan Dowland
⢿⡄⠘⠷⠚⠋⠀ https://jmtd.net
⠈⠳⣄⠀⠀⠀⠀

Reply via email to