How Can I Build a Kaniko Image Using Kaniko?

0
0
Asked By CuriousCat92 On

I heard that kaniko is archived but I think there's still a way to build an image of kaniko using another kaniko image. I've tried multiple scripts but keep running into issues like 'files not found' and other conflicts. Has anyone successfully found a stable script to do this?

4 Answers

Answered By BuilderBob77 On

Another approach is to use buildah. You can either use buildah to build kaniko, or even build a new buildah that can then build an updated kaniko capable of building other kanikos. It's pretty versatile!

Answered By DevDude43 On

Surprisingly, kaniko isn't dead! Chainguard has taken it over and revived it, which opens up more possibilities for building images. It's worth checking out!

Answered By TechieTina On

Yes, it's definitely possible to build kaniko using itself. You just need to run Kaniko inside a container and make sure the executor points to the kaniko repo. Also, remember to mount the `/kaniko` directory correctly to avoid any conflicts.

Answered By InfoSeeker99 On

I've been running a workflow that builds kaniko images regularly, but from a GitLab repo. I’d love something off the shelf on GitHub that allows tagging builds or scheduling them based on branches or tags. Anyone know if there's a workflow that could point kaniko to an arbitrary repo, even ones I don't own?

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.