feat: add dnf cache
All checks were successful
Build containers / changes (push) Successful in 3s
Build containers / base-image (push) Successful in 1m16s
Build containers / dependent-images (go) (push) Successful in 21s
Build containers / dependent-images (php) (push) Successful in 18s
Build containers / dependent-images (infra) (push) Successful in 1m0s

This commit is contained in:
Job
2026-03-19 19:49:17 +01:00
parent 18889e3d26
commit 9cd843f749

View File

@@ -12,9 +12,10 @@ default_args() {
run_opts+=( run_opts+=(
"--name" "$name" "--name" "$name"
"--hostname" "$name" "--hostname" "$name"
"--pull=newer" # Update image. "--pull=newer" # Update image.
"--userns=keep-id" # Map host user. "--userns=keep-id" # Map host user.
"-v" "$name:/home/user:copy" # Persistent home volume. "-v" "$name:/home/user:copy" # Persistent home volume.
"-v" "dnf-cache:/var/cache/libdnf5" # Cache dnf metadata.
) )
# Unix sockets require SELinux label disable. # Unix sockets require SELinux label disable.