From ff38450a5b5dfd515dae64aae5ce9aaad9077be9 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Wed, 24 Apr 2024 14:06:13 -0400 Subject: [PATCH] README.md: Misc updates --- README.md | 44 ++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 42 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c8c5a27b..2a609171 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,8 @@ The longer term vision of this project is that the build infrastructure upstream operating systems. For now, this project acts as a more central point for this across these distributions. +Current WIP documentation: + ## Motivation The original Docker container model of using "layers" to model @@ -16,9 +18,47 @@ aims to apply the same technique for bootable host systems - using standard OCI/Docker containers as a transport and delivery format for base operating system updates. -## More information +## Generated container images + +At the moment the main image is `quay.io/centos-bootc/centos-bootc:stream9` + +## Building + +The build process is 95% just installing RPM content into a container +image; there is some non-RPM config files etc. in this repository +too. + +See: + +- [Containerfile.centos-stream9] +- [Containerfile.centos-stream10] +- [Containerfile.fedora-40] + +For example: + +``` +podman build --security-opt=label=disable --cap-add=all --device /dev/fuse \ + -f Containerfile.centos-stream9 -t localhost/centos-bootc:stream9 +``` + +NOTE: This will not work when using "podman machine" over the remote client +(e.g. the default on MacOS/Windows). +In order to do a build on MacOS/Windows, first: + +`podman machine ssh` + +Then, navigate to your source code directory: + +`cd /path/to/source/code` (e.g. `/Users/chloe/src/centos-bootc` + +And finally, invoke the same + +`podman build ...` + +per above. -See: +There is also +for a new even more container-native build system. ## Badges