jib icon indicating copy to clipboard operation
jib copied to clipboard

Support building zstd-compressed layers

Open ReillyBrogan opened this issue 1 year ago • 6 comments

Description of the issue: Follow up of #3714. Jib should support building image layers that use the new application/vnd.oci.image.layer.v1.tar+zstd (cf https://github.com/opencontainers/image-spec/blob/main/media-types.md).

Zstd decompresses significantly quicker than gzip and uses less space, the result of this is that pulling images compressed with zstd takes less time and that starting containers based off of such images is also faster.

Building this into jib itself would allow users to have images that only have zstd layers without having to use an additional tool to convert the images after building them.

It would probably be a good ideat to make this the default when it's detected that the base image is already comprised of all-zstd layers since that's a good indicator that the user has ensured that all the tooling they are using is compatible with the format.

ReillyBrogan avatar Oct 22 '22 20:10 ReillyBrogan