Custom image of Fedora Silverblue for myself. Nvidia drivers built from source.
config.env: Central configuration file for image build variables.Makefile: Main entry point for building and managing the image.build.sh: Wrapper script forbuildahto build the image.Containerfile: Container image definition (Dockerfile equivalent).build_files/: Scripts and playbooks used during the build.
The project is configured via config.env. You can modify the following variables:
TARGET_IMAGE_NAME: Name of the resulting image.BASE_IMAGE: Upstream base image (e.g., Fedora Silverblue).FEDORA_VERSION: Version of Fedora to use.USE_LTS_KERNEL: Set totrueto use the LTS kernel from COPR.NVIDIA_VERSION: Specific NVIDIA driver version to build.
To add or remove packages, edit:
build_files/playbooks/install-packages.ansible.yaml
rpm-ostree rebase ostree-unverified-image:docker://ghcr.io/perpixel/<tag>make build
# Then rebase:
make rebasesudo rpm-ostree kargs --append=rd.driver.blacklist=nouveau --append=modprobe.blacklist=nouveau