-
Is there an example or any documentation on how you can create your own bootc base container? What are the requirements of the distro that can be selected? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
In the case of Fedora bootc base images, they are built from the repo here - https://gitlab.com/fedora/bootc/base-images There is some light documentation in that repo about how they are built (and how you can build them yourself), though it could be improved. I think a longer term goal should be to have an easier, more supportable way of building your own base images, but currently it appears that you need to do some tinkering. |
Beta Was this translation helpful? Give feedback.
-
For yocto there is the meta-updater, it't does a few other things on top of just ostree adaption, linked to specific tooling related to Uptane, such as aktualizer(agent) and garage(server), but once you dig in to it you can see the rootfs modifcations it does to satisfy ostree's requirements, for example: https://github.com/advancedtelematic/meta-updater/blob/master/classes/image_types_ostree.bbclass#L25, of course there are more things with the kernel, kernel arguments, initramfs etc. Would like to see some guidance related to bringing the plain ostree adaption to include adapting to the full bootc image requirements. |
Beta Was this translation helpful? Give feedback.
In the case of Fedora bootc base images, they are built from the repo here - https://gitlab.com/fedora/bootc/base-images
There is some light documentation in that repo about how they are built (and how you can build them yourself), though it could be improved.
I think a longer term goal should be to have an easier, more supportable way of building your own base images, but currently it appears that you need to do some tinkering.