feat: add dnf cache

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+=(
"--name" "$name"
"--hostname" "$name"
"--pull=newer" # Update image.
"--userns=keep-id" # Map host user.
"-v" "$name:/home/user:copy" # Persistent home volume.
"--pull=newer" # Update image.
"--userns=keep-id" # Map host user.
"-v" "$name:/home/user:copy" # Persistent home volume.
"-v" "dnf-cache:/var/cache/libdnf5" # Cache dnf metadata.
)
# Unix sockets require SELinux label disable.