3 Commits
Author SHA1 Message Date
Job79 bd98edbf3e Merge pull request 'Fix what a real install showed' (#3) from first-boot-fixes into main
os / os (push) Waiting to run
Reviewed-on: #3
2026-11-23 19:52:44 +00:00
Job79 0d54f59ff6 Merge pull request 'Run podman in jobs' (#2) from podman-in-jobs into main
os / os (push) Waiting to run
Reviewed-on: #2
2026-11-23 19:52:17 +00:00
Job79andClaude Opus 5.5 52b4cea73e Run podman in jobs
The job image gets podman, and each job a volume for /var/lib/containers,
so podman inside the job keeps its storage off the container's overlayfs.
Tested by building Job79/devcontainer's two images in a job.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 19:08:19 +00:00
3 changed files with 9 additions and 6 deletions

No files matched your search

+4 -3
View File
@@ -13,9 +13,10 @@ image.
There is no recovery key: if the TPM is lost, reinstall. There is no recovery key: if the TPM is lost, reinstall.
- **Jobs in containers:** each job runs in its own privileged container on - **Jobs in containers:** each job runs in its own privileged container on
root's podman. Jobs with `runs-on: linux` run in our job image: Fedora with root's podman. Jobs with `runs-on: linux` run in our job image: Fedora with
git, Node.js 26 and dnf, built with the OS and shipped in `/usr`. Privileged git, Node.js 26, podman and dnf, built with the OS and shipped in `/usr`.
jobs can build OS images, but can also take over the VM, so only use it for Privileged jobs can build OS and container images, but can also take over
repositories you trust. Container storage is wiped at every boot. the VM, so only use it for repositories you trust. Container storage is
wiped at every boot.
- **Self-updating:** the image rebuilds weekly. The VM lets running jobs finish - **Self-updating:** the image rebuilds weekly. The VM lets running jobs finish
before it reboots into an update, and a bad update rolls back by itself. before it reboots into an update, and a bad update rolls back by itself.
+4 -3
View File
@@ -23,6 +23,7 @@ container:
privileged: true privileged: true
# docker_host "-" keeps podman's socket out of the jobs. # docker_host "-" keeps podman's socket out of the jobs.
docker_host: "-" docker_host: "-"
# options gives each job a /var/tmp volume. On the container's overlayfs, # options gives each job volumes for /var/tmp and /var/lib/containers. On
# mkosi loses the xattrs of the files it copies, such as file capabilities. # the container's overlayfs, mkosi loses the xattrs of the files it copies,
options: --volume /var/tmp # such as file capabilities, and podman can't keep its storage.
options: --volume /var/tmp --volume /var/lib/containers
+1
View File
@@ -15,6 +15,7 @@ Packages=
fedora-repos # dnf needs to know the repositories. fedora-repos # dnf needs to know the repositories.
git-core # Checkouts are done with git. git-core # Checkouts are done with git.
nodejs26 # JavaScript actions run on node. nodejs26 # JavaScript actions run on node.
podman # Jobs build and run containers.
curl curl
tar # actions/cache and artifacts use these. tar # actions/cache and artifacts use these.
gzip gzip