Can I Build Kaniko Images Using Kaniko?

0
9
Asked By SunnySky234 On

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

Answered By TechWhiz99 On

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!

Answered By DevGuru45 On

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.

CleverCoder12 -

That's an interesting take! I didn't think about using Buildah for that. Might give it a shot!

Answered By CodeNinja88 On

Guess what? Kaniko isn't dead anymore! Chainguard has brought it back to life, so you can keep using it for your builds!

QuestioningDev -

That's good to hear! But how exactly would I go about building it using Kaniko itself?

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.