I've been trying to figure out if there's a way to build a Kaniko image using another Kaniko image, especially since Kaniko has been archived. I've attempted several script versions, but I keep hitting issues like 'files not found' and conflicts with other Kaniko files. Has anyone else successfully created a stable script for this process?
4 Answers
I prefer using the GitHub link for Kaniko by mzihlmann. Chainguard basically took it over and integrated it into their secure supply chain. Just be mindful about how you want to approach it for building purposes!
Another option is to use Buildah to build Kaniko. You can even use Buildah to build another instance of Buildah if you like! But seriously, just stick with Buildah or look into the Kaniko Chainguard images—they can simplify things a bit for you.
I wanted to jump in on this! You can definitely run Kaniko inside a container while pointing the executor at the Kaniko repository. Just make sure to mount `/kaniko` properly to avoid any file conflicts. With that set up, you should be good to go!
Kaniko isn't dead anymore! Chainguard has revived it, so you might find updated resources and support for your builds now. It's worth checking out what they've done with it.
Yeah, but can you share how to actually build it using Kaniko? That's what I'm struggling with!