ci: add dnf cache
All checks were successful
Build containers / changes (push) Successful in 3s
Build containers / base-image (push) Successful in 58s
Build containers / dependent-images (go) (push) Successful in 33s
Build containers / dependent-images (infra) (push) Successful in 57s

This commit is contained in:
Job
2025-12-29 15:33:46 +01:00
parent 32bbe1c2cd
commit 9c74bad0a3
3 changed files with 8 additions and 7 deletions

View File

@@ -1,12 +1,12 @@
FROM quay.io/fedora/fedora:43
# === install system packages ===
RUN dnf update -y && \
RUN --mount=type=cache,id=dnf-cache,target=/var/cache/libdnf5 \
dnf update -y && \
dnf copr enable -y atim/lazygit && \
dnf -y install procps ping bash-completion glibc-langpack-en \
dnf -y --setopt=keepcache=1 install procps ping bash-completion glibc-langpack-en \
host-spawn dbus-launch \
zoxide git npm neovim awk jq unzip fd-find lazygit && \
dnf clean all
zoxide git npm neovim awk jq unzip fd-find lazygit
# === setup user ===
RUN useradd -ms /bin/bash user && \