I heard that Kaniko is archived now, but I'm curious if there's still a way to build a Kaniko image using another Kaniko image. I've tried several scripts but keep encountering issues like 'file not found' or conflicts with other Kaniko files. Has anyone figured out a stable script or method to make this work?
5 Answers
You can definitely build Kaniko with itself! Just run Kaniko in a container and point the executor to the Kaniko repository. Make sure you mount the /kaniko directory correctly to avoid any file conflicts.
Have you thought about using Buildah? It’s a solid option to build Kaniko, or even to create an updated version of Kaniko that can build other Kaniko images. I recommend checking out some of the Kaniko Chainguard images too. They have some useful features!
That all sounds great, but I'm still stuck on how to specifically use Kaniko to build itself. Anyone have a clear example?
Interestingly, Kaniko isn’t dead after all. Chainguard has revived it, so you might want to explore their updated versions!
I’d personally recommend using the Kaniko repo maintained by mzihlmann. They’ve adapted it to fit into a secure-by-default supply chain which could be really beneficial.

Related Questions
How To: Running Codex CLI on Windows with Azure OpenAI
Set Wordpress Featured Image Using Javascript
How To Fix PHP Random Being The Same
Why no WebP Support with Wordpress
Replace Wordpress Cron With Linux Cron
Customize Yoast Canonical URL Programmatically