- Dockerfile 100%
|
All checks were successful
Build bootc image / Build and publish image (push) Successful in 1h13m33s
|
||
|---|---|---|
| .forgejo/workflows | ||
| packages | ||
| system_files/etc | ||
| Containerfile | ||
| LICENSE | ||
| README.md | ||
hyprland-bootc
Fedora Atomic 44 as a bootable container image with Hyprland, built for the Framework Laptop 13 (AMD Ryzen AI 300). The whole operating system is defined by this repository; the laptop pulls the resulting image and boots it.
What is in the image
- Base:
quay.io/fedora-ostree-desktops/base-atomic:44, pinned by digest inContainerfile. Kernel,linux-firmware, Mesa, NetworkManager, PipeWire,bootcandrpm-ostreecome from there. - Hyprland from the lionheartp/Hyprland
Copr (the one recommended by the Hyprland wiki):
hyprland,hyprland-plugins,hyprlock,hypridle,hyprpaper,hyprpolkitagent,xdg-desktop-portal-hyprland,uwsm. - Login:
greetd+tuigreet(Wayland only, no X server). - Laptop bits:
tuned-ppd,fprintd,fwupd, Bluetooth, Wi-Fi. - Escape hatches for software that is not in the image:
flatpak,distrobox,podman.
Package lists live in packages/*.txt, one package per line.
Pipeline
.forgejo/workflows/build.yml builds the image with Buildah on every push to
main, on pull requests (build only, no push), daily at 04:17 UTC (to pick up
Fedora and Copr updates) and on manual dispatch. It runs bootc container lint
and pushes to the Forgejo container registry:
git.samaschke.de/ksamaschke/hyprland-bootc:latest
git.samaschke.de/ksamaschke/hyprland-bootc:44
git.samaschke.de/ksamaschke/hyprland-bootc:44-YYYYMMDD
git.samaschke.de/ksamaschke/hyprland-bootc:<commit>
Using it on a machine
From an installed Fedora Atomic system (e.g. Silverblue):
sudo bootc switch git.samaschke.de/ksamaschke/hyprland-bootc:latest
sudo systemctl reboot
This is a one-time step. Afterwards:
sudo bootc upgrade # fetch the newest image, active after reboot
sudo bootc rollback # go back to the previous image
/etc keeps local changes, /var and /home are never touched by an update.
Status
Experimental. The image builds and passes bootc container lint; it has not yet
been booted on real Framework hardware.