ublue-os / toolboxes

Centralized repository of containers designed for Toolbox/Distrobox
Apache License 2.0
42 stars 10 forks source link

chore: push images with zstd:chunked #101

Closed castrojo closed 1 month ago

castrojo commented 1 month ago

Do not merge yet! https://www.redhat.com/sysadmin/faster-container-image-pulls

Met with the podman team on this and got the demo. Note that all the stuff required for bootc and rpm-ostree are in flight and inprogress. However this has been in podman and docker for a while now, so the toolboxes are a perfect place to get some savings.

I built this in castrojo/bluefin-cli. Needs to be on an ubuntu-24.04 builder so that the newer version of podman is on there. Then we add --compression-format=zstd:chunked to the podman push step. Podman and docker will know it's zstd:chunked and just do the right thing.

podman pull ghcr.io/castrojo/bluefin-cli

And make note of the output. Leaving this as draft so we can observe what a few days of updates looks like in practice.