- Just 64.2%
- Dockerfile 22.1%
- Nix 13.7%
| packages | ||
| packages.rm | ||
| repos | ||
| rootfs | ||
| .envrc | ||
| .gitignore | ||
| .nvim.lua | ||
| config.toml | ||
| Containerfile | ||
| COPYING | ||
| flake.lock | ||
| flake.nix | ||
| Justfile | ||
| README.md | ||
portablue
Portable Fedora Silverblue image built as a bootc OCI image with Podman. The current targets are QCOW2 and installer ISO.
Development shell
nix develop
just check
Build and run
just build
just qcow2
just run
Build both output formats with:
just artifacts
Generated files are written below output/. The first graphical boot uses the normal Silverblue initial setup to create a user.
Run just to list all recipes. Defaults can be overridden through environment variables or a local .env file:
FEDORA_VERSION=44
IMAGE=localhost/portablue:latest
CONTAINER_STORAGE=/var/lib/containers/storage
QEMU_CPUS=4
QEMU_MEMORY=8G
OVMF_VARS_FILE=output/OVMF_VARS.fd
QEMU keeps writable UEFI variable state in output/OVMF_VARS.fd.
The OCI image and bootc-image-builder both use rootful Podman so they share /var/lib/containers/storage. This is required on hosts without SELinux, where the experimental rootless builder cannot create the SELinux labels needed by Fedora images. /dev/kvm is only required by the QEMU run recipe.
Licence
GNU General Public License v3.0 or later
SPDX: GPL-3.0-or-later