Commit Graph

8 Commits

Author SHA1 Message Date
Colin Walters 9415176fdb base: Embed config in image
The idea here is this can be reused by later builds.

Signed-off-by: Colin Walters <walters@verbum.org>
2025-02-07 13:42:48 -05:00
Colin Walters 468b413481 Containerfile.base: Work around rpmdb location
This took me an unreasonably long time to figure out.
See https://github.com/coreos/rpm-ostree/issues/3397

Signed-off-by: Colin Walters <walters@verbum.org>
2025-02-07 13:42:48 -05:00
Colin Walters aae17241d8 Rework to stop using removed buildah feature
We can't rely on https://github.com/containers/buildah/issues/5952
anymore.

Signed-off-by: Colin Walters <walters@verbum.org>
2025-02-07 13:42:48 -05:00
Colin Walters f2fbdd7dad base: Cleanup rpmdb
First, ensure we remove the `-shm` files etc; this is another
implementation of https://github.com/coreos/rpm-ostree/pull/5244
effectively, but in shell script in the container build pipeline.

Also remove the rpm-ostree-base-db because I think it's the
hardlinking here that's causing problems in gitlab CI where
we can't rely on writethrough of hardlinks.

I am hoping this fixes the gitlab CI.

Signed-off-by: Colin Walters <walters@verbum.org>
2025-01-24 15:45:03 -05:00
Colin Walters 1901092f5d Move labels into Containerfile.base
Signed-off-by: Colin Walters <walters@verbum.org>
2025-01-23 11:37:04 -05:00
Colin Walters 255780a9d0 Rename tier-0 -> base
Part of dropping the "tier" nomenclature which never made sense
since the introduction of `tier-x` anyways.

Signed-off-by: Colin Walters <walters@verbum.org>
2025-01-23 11:37:04 -05:00
Colin Walters 08928a103a tier-x -> packages-recommended.txt
That's basically all this is...plus a default
inheritance from the base image.

Signed-off-by: Colin Walters <walters@verbum.org>
2025-01-23 11:37:04 -05:00
Colin Walters 029e4c7038 Split off Containerfile.base
Signed-off-by: Colin Walters <walters@verbum.org>
2025-01-23 11:37:04 -05:00