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>
24 lines
878 B
Plaintext
24 lines
878 B
Plaintext
# mkosi.conf builds the job image, the container that jobs with
|
|
# runs-on: linux run in. It is an OCI image, which the OS ships in
|
|
# /usr/lib/runneros/job (ExtraTrees= in /mkosi.conf), so it is signed and
|
|
# updated with the OS. gitea-runner.service loads it into podman at boot.
|
|
#
|
|
# Packages holds what common actions need. Jobs install more with dnf.
|
|
[Output]
|
|
Format=oci
|
|
Output=job
|
|
|
|
[Content]
|
|
WithDocs=no
|
|
Packages=
|
|
dnf5 # Jobs install what else they need.
|
|
fedora-repos # dnf needs to know the repositories.
|
|
git-core # Checkouts are done with git.
|
|
nodejs26 # JavaScript actions run on node.
|
|
podman # Jobs build and run containers.
|
|
curl
|
|
tar # actions/cache and artifacts use these.
|
|
gzip
|
|
zstd
|
|
findutils
|