I've 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 various scripts, but I'm running into issues like files not found and other conflicts while trying to build. Has anyone figured out a reliable script or method to make this work?
3 Answers
Absolutely, you can still build Kaniko with Kaniko! Just run Kaniko within a container and set the executor to point directly at the Kaniko repository. Make sure to mount the /kaniko directory correctly to avoid any conflicts. That should get you started!
If you want a different approach, consider using Buildah to build Kaniko. You could even use Buildah to build another instance of Buildah, which can then handle creating an updated Kaniko. Seriously, Buildah is a great tool for this kind of stuff.
Guess what? Kaniko isn't dead anymore! Chainguard has brought it back to life, so you can keep using it for your builds!
That's good to hear! But how exactly would I go about building it using Kaniko itself?
That's an interesting take! I didn't think about using Buildah for that. Might give it a shot!