sclorg / container-common-scripts

Apache License 2.0
20 stars 45 forks source link

Add support for squashing images #274

Closed phracek closed 1 year ago

phracek commented 2 years ago

container-common-scripts supports squashing images by docker. It would be nice to add support for squashing images also for podman

podman supports squashing based on the documentation here: https://docs.podman.io/en/latest/markdown/podman-build.1.html#squash

So only checking if the podman is installed and using the proper option to podman command should be enough.