Can I Build a Kaniko Image Using Another Kaniko Image?

August 27, 2025 3 answers
Asked by Wanderlust42
Hey everyone! I've been exploring the possibility of building a Kaniko image from another Kaniko image since I heard that Kaniko is now archived. I've tried multiple scripts, but I keep running into file conflicts and errors like 'files not found'. Has anyone had success with this? I'm looking for a reliable script that works in this scenario.

Answers

BuildahGuru
Another option is to use Buildah for this. You can build Kaniko, or even use Buildah to create another Buildah, which can then build an updated Kaniko. It's a bit of a roundabout way, but Buildah is solid.
Reply to this answer
DevNinja77
By the way, Kaniko isnโ€™t dead! Itโ€™s been revived by Chainguard, so itโ€™s definitely still an option to use their support. However, if youโ€™re looking for something else, there's also a GitHub repo by mzihlmann that looks promising.
Reply to this answer
CreativeCoder88
You can definitely build Kaniko using itself! Just make sure to run Kaniko inside a container where the executor points at the Kaniko repo, and mount the /kaniko directory correctly to avoid conflicts. That should set you on the right path.
Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions