apko
apko copied to clipboard
Support for one-layer-per-package?
It seems like right now the image exported by apko is just a single layer. Is it in apko's scope to eventually support multi-layer images? I specifically am imagining that each package that gets installed (including each transitive dependency) would become its own single layer. The exported image would then just consist of the layers for each package, topologically sorted based on the dependency DAG.
This type of approach would be beneficial for caching in many ways, one example being that if you pushed an image built by apko to a registry and the registry already has some or all of the layers, you could skip pushing them.
This is really not so easy to do, but patches would be accepted if somebody wants to try it.
Cool, I will likely not have time in the immediate future, but I may give it a shot sometime if no one else has. Good to know it's in scope either way, thanks.
Adding issue to global tracking board