kairos
kairos copied to clipboard
[factory web ui] check if it's possible to use api instead of shelling out to build container image
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
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.
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)
This ticket and https://github.com/kairos-io/kairos/issues/1546 can probably be merged into one ticket.