GoogleContainerTools / GoogleContainerTools/jib
Support compression for tar images in jib-core
- Dominant language
- Java
- Stars
- 14.5k
- Forks
- 1.5k
- PR merge metrics
- No merged PRs in 30d
Description
**Description of the issue**:
We use jib-core to implement tooling to deal with a large number of docker images.
Some of these are large, build with the docker cli then saved and Jib takes over from there.
We observed that these tend to compress well, close to half the size, and there's a significant amount of
build time we can save by storing and transferring compressed images.
It would be great if Jib would support working with a compressed tar image directly.
From poking around it seems that `TarExtractor` could implement that rather seamlessly,
It already relies on `commons-compress` so it wouldn't introduce additional dependencies
either (the implementation of the compression algorithms is a runtime dependency).
Would you consider a PR that adds support for de-compressing the tar archive in `TarExtractor`
based on the file extension ?
Contributor guide
Assessment
This issue has not been assessed yet.