An open API service indexing awesome lists of open source software.

https://github.com/nobodywatchin/bootc-testing

this repo is for testing custom bootc images from different sources using BlueBuild
https://github.com/nobodywatchin/bootc-testing

atomic bluebuild bluebuild-image custom-image image-based immutable linux linux-custom-image oci oci-image operating-system

Last synced: about 2 months ago
JSON representation

this repo is for testing custom bootc images from different sources using BlueBuild

Awesome Lists containing this project

README

          

# bootc-testing   [![bluebuild build badge](https://github.com/nobodywatchin/bootc-testing/actions/workflows/build.yml/badge.svg)](https://github.com/nobodywatchin/bootc-testing/actions/workflows/build.yml)

These are some custom bootc-based images based around EL9 and EL10 distributions.

There are currently only Almalinux 9 and 10 images with plans to add more distros in the future.

The GNOME Desktop is included with some extensions added as well.

These images are built strictly for testing -- they are NOT production-ready, use at your own risk!

## Verification

These images are signed with [Sigstore](https://www.sigstore.dev/)'s [cosign](https://github.com/sigstore/cosign). You can verify the signature by downloading the `cosign.pub` file from this repo and running the following command:

```bash
cosign verify --key cosign.pub ghcr.io/nobodywatchin/bootc-testing
```

The [Red Hat](https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9/html/using_image_mode_for_rhel_to_build_deploy_and_manage_operating_systems/deploying-the-rhel-bootc-images_using-image-mode-for-rhel-to-build-deploy-and-manage-operating-systems#building-and-launching-configured-images_deploying-the-rhel-bootc-images) and [OSBuild](https://osbuild.org/docs/bootc/) documentation on building bootc images is quite in-depth if you want to tinker.

In the meantime, here are some simple commands to get up and running:

# Building as a VM

```bash
TMP=$(mktemp) && \
curl -fsSL https://raw.githubusercontent.com/nobodywatchin/bootc-testing/main/image.toml -o "$TMP" && \
sudo podman pull ghcr.io/nobodywatchin/alma10-server:latest && \
sudo podman pull quay.io/centos-bootc/bootc-image-builder:latest && \
sudo podman run --rm -it --privileged --pull=newer \
--security-opt label=type:unconfined_t \
--network=host \
-v /var/lib/containers/storage:/var/lib/containers/storage \
-v "$(pwd)/output:/output" \
-v "$TMP:/config.toml:ro" \
quay.io/centos-bootc/bootc-image-builder:latest \
--type qcow2 \
--progress verbose \
--use-librepo=false \
--config /config.toml \
ghcr.io/nobodywatchin/alma10-server:latest
rm -f "$TMP"

```

# Building ISO File

```bash
TMP=$(mktemp) && \
curl -fsSL https://raw.githubusercontent.com/nobodywatchin/bootc-testing/main/iso.toml -o "$TMP" && \
sudo podman pull ghcr.io/nobodywatchin/alma10-server:latest && \
sudo podman pull quay.io/centos-bootc/bootc-image-builder:latest && \
sudo podman run --rm -it --privileged --pull=newer \
--security-opt label=type:unconfined_t \
--network=host \
-v /var/lib/containers/storage:/var/lib/containers/storage \
-v "$(pwd)/output:/output" \
-v "$TMP:/config.toml:ro" \
quay.io/centos-bootc/bootc-image-builder:latest \
--type iso \
--progress verbose \
--use-librepo=false \
--config /config.toml \
ghcr.io/nobodywatchin/alma10-server:latest
rm -f "$TMP"
```