From ffec01f3bef526b4c9cf43806bf791500e497734 Mon Sep 17 00:00:00 2001 From: Cappy Ishihara Date: Tue, 24 Sep 2024 13:00:44 +0700 Subject: [PATCH] never cache updates --- base/Containerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/base/Containerfile b/base/Containerfile index 163f673..f026da2 100644 --- a/base/Containerfile +++ b/base/Containerfile @@ -1,8 +1,8 @@ # todo: Build base image from scratch with melody FROM quay.io/fedora/fedora-bootc:41 - -RUN dnf up -y +# do not cache this layer +RUN --mount=type=cache,target=/tmp/cache:none dnf update -y RUN dnf install -y https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm RUN dnf install -y --repofrompath "terra,https://repos.fyralabs.com/terra$(rpm -E %fedora)" --setopt="terra.gpgkey=https://repos.fyralabs.com/terra$(rpm -E %fedora)/key.asc" terra-release