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

0
9
Asked By CuriousCoder42 On

I've heard that even though Kaniko is archived, there's still a way to create a Kaniko image using another Kaniko image. I've tried various scripts but keep running into file not found issues and other conflicts during the build process. Has anyone successfully figured out a stable script for building Kaniko this way?

3 Answers

Answered By TechWhiz98 On

You can definitely build Kaniko using Kaniko! Just run Kaniko inside a container, set the executor to point at the Kaniko repository, and make sure to mount the /kaniko directory properly to avoid any conflicts.

Answered By DevGuru99 On

Don't worry, Kaniko's back in action! Chainguard has taken over maintenance, so it's definitely not dead anymore.

Answered By BuildahBuddy07 On

If you're still having trouble, consider using Buildah for this process. You can build Kaniko with Buildah, or even use the Kaniko chainguard images, which are handy for building images in a more controlled way.

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.