Skip to content

Commit

Permalink
build-sys: Bump to Fedora 41
Browse files Browse the repository at this point in the history
Fedora N-1 (40 now) is stable, but will eventually get stale.
In my case we happen to be using this image as a "builder"
image and I added a new feature to rpm-ostree, which I didn't
ship to F40. I may still do so.

However it's clearly a good idea for us to keep updated.

This all said, it's actually not clear to me that Fedora is
the right default base image - it may make sense to target
e.g. c10s or c9s?

This all relates to https://gitlab.com/fedora/bootc/tracker/-/issues/2
as well.

Signed-off-by: Colin Walters <walters@verbum.org>
  • Loading branch information
cgwalters authored and mvo5 committed Jan 7, 2025
1 parent 2ec8b7e commit 3c0ab41
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Containerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM registry.fedoraproject.org/fedora:40 AS builder
FROM registry.fedoraproject.org/fedora:41 AS builder
RUN dnf install -y git-core golang gpgme-devel libassuan-devel && mkdir -p /build/bib
COPY bib/go.mod bib/go.sum /build/bib/
ARG GOPROXY=https://proxy.golang.org,direct
Expand All @@ -10,7 +10,7 @@ COPY . /build
WORKDIR /build
RUN ./build.sh

FROM registry.fedoraproject.org/fedora:40
FROM registry.fedoraproject.org/fedora:41
# Fast-track osbuild so we don't depend on the "slow" Fedora release process to implement new features in bib
COPY ./group_osbuild-osbuild-fedora.repo /etc/yum.repos.d/
COPY ./package-requires.txt .
Expand Down

0 comments on commit 3c0ab41

Please sign in to comment.