You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using rules_apt to download a set of packages from Debian/Ubuntu repositories, so that I can add those packages to my oci_image as a layer. The problem is that each package has a set of dependencies on its own. In total, we have 67 dependencies right now, which when loaded into Docker as layer-per-package causes it to balk with "too many layers".
Describe the feature
A rule called squash_tars, which takes a set of .tar files as input, and returns a single .tar file. The contents are extracted in input file order and then re-compressed into a single file.
I have a basic implementation of this already and intend to create a PR. I wanted to open an issue first to see whether it would be desired.
The text was updated successfully, but these errors were encountered:
#870 also mentions this... I also think it's a pretty useful functionality to have in a "generic" / utilities library. @thesayyn would you consider moving flatten to bazel-lib?
What is the current behavior?
I am using
rules_apt
to download a set of packages from Debian/Ubuntu repositories, so that I can add those packages to myoci_image
as a layer. The problem is that each package has a set of dependencies on its own. In total, we have 67 dependencies right now, which when loaded into Docker as layer-per-package causes it to balk with "too many layers".Describe the feature
A rule called
squash_tars
, which takes a set of.tar
files as input, and returns a single.tar
file. The contents are extracted in input file order and then re-compressed into a single file.I have a basic implementation of this already and intend to create a PR. I wanted to open an issue first to see whether it would be desired.
The text was updated successfully, but these errors were encountered: