4 ms·
Does this (or could this) use Buildkit? It seems that Docker themselves are encouraging the development of an ecosystem of third-party container build tools, wi
by zapita 9y ago
Does this (or could this) use Buildkit? It seems that Docker themselves are encouraging the development of an ecosystem of third-party container build tools, with buildkit as an interoperability layer. I heard good things about buildkit but haven't tried it yet.
If Kaniko authors are reading this: have you considered buildkit and, if not, would you be open to contributions based on it?
My understanding is that the official 'docker build' itself is based on Buildkit.
https://github.com/moby/buildkit https://github.com/moby/buildkit
- dlor 9y agoKaniko doesn't use buildkit - buildkit still uses containerd/runC under the hood so it can't run inside a container easily. We are looking at interoperability with buildkit (and the large set of of other tooling like this) through the CBI: https://github.com/containerbuilding/cbi https://github.com/containerbuilding/cbi which aims to be a neutral interface on top of things like buildkit, buildah, docker and kaniko that build images. Discloser: I work on kaniko and other container things at Google.
- zapita 9y agoVery interesting, and it looks like the people working on CBI are also active on Buildkit, which is a good sign! Thank you for the pointer.
- AkihiroSuda 9y ago@zapita FYI: Kaniko plugin for CBI is now available. https://github.com/containerbuilding/cbi/pull/35 https://github.com/containerbuilding/cbi/pull/35
- zapita 9y agoThanks Akihiro for the follow-up. And while I'm at it, thank you for all this excellent code that we get to enjoy for free! It's really fantastic work.