kata-containers / kata-containers

Kata Containers is an open source project and community working to build a standard implementation of lightweight Virtual Machines (VMs) that feel and perform like containers, but provide the workload isolation and security advantages of VMs. https://katacontainers.io/
Apache License 2.0
5.08k stars 1k forks source link

osbuilder: allow rootfs builds w/o git or version file deps #9824

Open ms-mahuber opened 2 weeks ago

ms-mahuber commented 2 weeks ago

Which feature do you think can be improved?

osbuilder's rootfs build process which depends on version information files versions.yaml, VERSION, and on git to work properly

How can it be improved?

Reduce the dependencies so that we can leverage the tooling in environments outside of git where we want to compose the rootfs with minimal dependencies. In these environments, the versioning files may not be present as well. Such environment may potentially be an isolated environment in which one attempts to build the UVM/rootfs in more production-grade scenarios. In these cases we:

The changes in the pull request 9825 prevent various errors from surfacing: