Skip to content

Commit

Permalink
never cache updates
Browse files Browse the repository at this point in the history
  • Loading branch information
korewaChino committed Sep 24, 2024
1 parent a277f90 commit ffec01f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions base/Containerfile
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit ffec01f

Please sign in to comment.