Compare commits

...

1 Commits

Author SHA1 Message Date
7bcccf5fb3 ci: add dnf cache
All checks were successful
Build containers / changes (push) Successful in 3s
Build containers / base-image (push) Successful in 1m0s
Build containers / dependent-images (go) (push) Successful in 40s
Build containers / dependent-images (infra) (push) Successful in 57s
2025-12-29 15:33:46 +01:00
3 changed files with 6 additions and 3 deletions

View File

@@ -1,7 +1,8 @@
FROM quay.io/fedora/fedora:43 FROM quay.io/fedora/fedora:43
# === install system packages === # === install system packages ===
RUN dnf update -y && \ RUN --mount=type=cache,target=/var/cache/dnf \
dnf update -y && \
dnf copr enable -y atim/lazygit && \ dnf copr enable -y atim/lazygit && \
dnf -y install procps ping bash-completion glibc-langpack-en \ dnf -y install procps ping bash-completion glibc-langpack-en \
host-spawn dbus-launch \ host-spawn dbus-launch \

View File

@@ -2,6 +2,7 @@ ARG TAG
FROM job79/fedora:${TAG} FROM job79/fedora:${TAG}
USER root USER root
RUN dnf -y install go && dnf clean all RUN --mount=type=cache,target=/var/cache/dnf \
dnf -y install go && dnf clean all
USER user USER user

View File

@@ -2,7 +2,8 @@ ARG TAG
FROM job79/fedora:${TAG} FROM job79/fedora:${TAG}
USER root USER root
RUN dnf -y install kubectl k9s openssl age "$(curl -s https://api.github.com/repos/getsops/sops/releases/latest | jq -r '.assets[] | select(.name | test("sops-.*.x86_64.rpm$")) | .browser_download_url')" && \ RUN --mount=type=cache,target=/var/cache/dnf \
dnf -y install kubectl k9s openssl age "$(curl -s https://api.github.com/repos/getsops/sops/releases/latest | jq -r '.assets[] | select(.name | test("sops-.*.x86_64.rpm$")) | .browser_download_url')" && \
dnf clean all && \ dnf clean all && \
curl -sL https://talos.dev/install | sh && \ curl -sL https://talos.dev/install | sh && \
curl -s https://fluxcd.io/install.sh | bash curl -s https://fluxcd.io/install.sh | bash