A custom CentOS minimal image built for tiny home labs etc.
Warning This project is "work in progress" and not ready for production.
- Based on a minimal CentOS Stream 10
- K3s lightweight Kubernetes
The Justfile contains various commands and configurations for building and managing container images and virtual machine images using Podman and other utilities.
To use it, you must have installed just from your package manager or manually. It is available by default on all Universal Blue images.
image_name: The name of the image (default: "image-template").default_tag: The default tag for the image (default: "latest").bib_image: The Bootc Image Builder (BIB) image (default: "quay.io/centos-bootc/bootc-image-builder:latest").
Builds a container image using Podman.
just build $target_image $tagArguments:
$target_image: The tag you want to apply to the image (default:$image_name).$tag: The tag for the image (default:$default_tag).
The below commands all build QCOW2 images. To produce or use a different type of image, substitute in the command with that type in the place of qcow2. The available types are qcow2, iso, and raw.
Builds a QCOW2 virtual machine image.
just build-qcow2 $target_image $tagRebuilds a QCOW2 virtual machine image.
just rebuild-vm $target_image $tagRuns a virtual machine from a QCOW2 image.
just run-vm-qcow2 $target_image $tagRuns a virtual machine using systemd-vmspawn.
just spawn-vm rebuild="0" type="qcow2" ram="6G"Checks the syntax of all .just files and the Justfile.
Fixes the syntax of all .just files and the Justfile.
Cleans the repository by removing build artifacts.
Runs shell check on all Bash scripts.
Runs shfmt on all Bash scripts.
This project is based on the Universal Blue image template though it's been added to significantly.