I've learned that kaniko has been archived, but I feel there's still a way to create a kaniko image using another kaniko image. I've tried various script versions but keep running into issues like 'files not found' and conflicts with other kaniko files. Has anyone successfully figured out a working script for this situation?
4 Answers
If you're really in a crunch and need something off-the-shelf, I'd suggest checking out https://github.com/mzihlmann/kaniko. Chainguard's take on kaniko adapts it for a 'secure by default' supply chain, so it might be worth looking into for reliability.
You can build kaniko using another kaniko by running it inside a container. Just make sure the executor points to the kaniko repo and that you mount the /kaniko directory correctly to avoid conflicts. That should help you get it running!
Oh, don't worry—kaniko isn't dead anymore! Chainguard has taken it over, so it's actively maintained now. You might want to check their updated versions if you haven’t already!
I recommend using buildah for this! It's a great tool that can build Kaniko, and it can even build a buildah image that can subsequently build more Kaniko versions. So you get a nice chain of builds going!
That's interesting! But I'm still stuck on how to actually build it using kaniko. Any tips?