Commit Graph

9 Commits

Author SHA1 Message Date
Colin Walters 7676401abe build-sys: Rework to use new compose rootfs + FROM scratch pattern
This takes some of the logic from what's currently in custom base image branch
and applies it here for the main branch.

We need this in order to not depend on the logic that was
removed in https://github.com/containers/buildah/issues/5952

Note that with the latest rpm-ostree v2025.5 `--source-root`
is significantly improved and we don't need to manually copy
dnf variables or gpg keys.
2025-02-20 19:51:09 -05:00
Joseph Marrero Corchado 7e65f01306 Containerfile: use rawhide as builder to get the latest rpm-ostree 2025-01-21 15:53:14 -05:00
Jonathan Lebon 44258fdde4
Containerfile: clean up temporary hack for `--from` handling
We have new enough rpm-ostree in Fedora for this now.
2024-10-23 15:35:28 -04:00
Jonathan Lebon 908c347bb9
Containerfile: add temporary hack for `--from` handling
Using `--from` to set the target releasever doesn't work yet because we
_need_ to set the `releasever` field since the repo files reference it.
There's a pending rpm-ostree PR to fix this but for now hack around it
by manually injecting the necessary variables in the treefile.
2024-10-23 15:35:00 -04:00
Jonathan Lebon 0980197ad9
Containerfile: split long RUN lines
They're getting quite long and hard to parse. Split for legibility.
2024-10-23 15:22:50 -04:00
Colin Walters b22d3422f4 containerfile: Drop use of bootc-image-builder
This just adds confusion in the end. Switch to bootstrapping
from the app image.
2024-10-03 16:28:49 -04:00
Liora Milbaum f870a77a25 Only rawhide 2024-05-28 19:53:56 +03:00
Liora Milbaum 43c46b294c Bump fedora container image to a released version only 2024-05-21 21:09:24 +03:00
Colin Walters 79f64a0bcd Containerfile: Make generic
It's already used with `--from` in places, and this way
we have a default.
2024-04-27 08:41:15 -04:00