osbuild / images

Image builder image definition library
Apache License 2.0
23 stars 52 forks source link

cmd: add new image-builder binary and initial `list-distros` #997

Open mvo5 opened 3 weeks ago

mvo5 commented 3 weeks ago

[draft as this is sill WIP and questions like where to get the authorative list of distros/repos and if we should embed them via "embed:" to have a simpler distribution mechanism etc]

This commit adds a new image-builder binary that will be capable to build images standalone (daemonless). There are various use-cases for this, the most important one is CI/CD pipelines.

This binary should eventually also replace the existing "cmd/list-images" and "cmd/build" binaries (and potentially more) and it will cherry pick a lot of the functionality from there. I decided against starting from one of the exiting binaries because it allows a slightly cleaner start but this work is early so we could still reconsider if people feel strongly it should be done the other way around.

mvo5 commented 1 week ago

Just FTR - this will be transferred to https://github.com/osbuild/image-builder-cli (unless someone has concerns)