kairos icon indicating copy to clipboard operation
kairos copied to clipboard

[factory web ui] check if it's possible to use api instead of shelling out to build container image

Open mauromorales opened this issue 8 months ago • 3 comments

          Maybe this is for the future, but cant we just hook into the containerd libs here and create the image in pure go directly?

Originally posted by @Itxaka in https://github.com/kairos-io/AuroraBoot/pull/211#discussion_r1998250569

mauromorales avatar Mar 17 '25 13:03 mauromorales

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] avatar May 27 '25 02:05 github-actions[bot]

Two more options (that can be used as libraries):

  • buildah: https://github.com/containers/buildah
  • kaniko: https://github.com/GoogleContainerTools/kaniko/

Though kaniko has a warning in their README:

kaniko is meant to be run as an image: gcr.io/kaniko-project/executor. We do not recommend running the kaniko executor binary in another image, as it might not work as you expect - see [Known Issues](https://github.com/GoogleContainerTools/kaniko/#known-issues).

(Also considered in the past here: https://github.com/kairos-io/kairos/issues/1546)

jimmykarily avatar May 28 '25 05:05 jimmykarily

This ticket and https://github.com/kairos-io/kairos/issues/1546 can probably be merged into one ticket.

jimmykarily avatar May 28 '25 05:05 jimmykarily