How Can I Build a Kaniko Image Using Another Kaniko Image?

0
0
Asked By CuriousCat123 On

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

Answered By InsiderInfo45 On

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!

DevWizard42 -

Yeah, but can you share how to actually build it using Kaniko? That's what I'm struggling with!

Answered By DevWizard42 On

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.

Answered By TechGuru99 On

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!

Answered By CloudNinja88 On

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.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.