No description
Find a file
Miguel Martín 4c4ce91d9a
chore: add org.opencontainers.image.version label
Add the corresponding `org.opencontainers.image.version` label
to container images built by konflux

Related: https://gitlab.com/fedora/bootc/tekton-catalog/-/issues/2

Signed-off-by: Miguel Martín <mmartinv@redhat.com>
2025-08-22 08:13:45 +02:00
.tekton chore: add org.opencontainers.image.version label 2025-08-22 08:13:45 +02:00
ci ci: Add basic shellcheck, whitespace & format checks 2025-06-26 13:56:56 +02:00
fedora-includes Move fedora-generic to fedora-includes 2025-02-25 08:27:20 -05:00
finalize.d Install bootc-base-imagectl in Pungi path 2025-06-09 13:51:00 -04:00
iot whitespace changes to appease downstream CI 2025-05-09 12:52:16 -04:00
minimal Merge branch 'F43-enable-bootloader-update' into 'main' 2025-08-12 15:05:51 +00:00
minimal-plus Rename tier-x → minimal-plus 2025-03-18 10:12:38 -04:00
standard Silence permissions warning on bootc-generic-growpart.service 2025-08-03 14:22:56 -07:00
tests tests: add test for --sysusers 2025-07-21 11:26:14 -04:00
.gitlab-ci.yml tests: add test for --sysusers 2025-07-21 11:26:14 -04:00
.mdl_style.rb Update .mdl_style.rb 2023-11-09 16:14:45 +02:00
.mdlrc Update .mdlrc 2023-11-09 16:18:33 +02:00
.pre-commit-config.yaml chore(deps): update all dependencies 2025-06-05 14:14:04 +00:00
bootc-base-imagectl bootc-base-imagectl: make --add-dir use ostree-override-layers instead 2025-08-14 16:32:50 -04:00
bootc-base-imagectl.md whitespace changes to appease downstream CI 2025-05-09 12:52:16 -04:00
Containerfile chore: add org.opencontainers.image.version label 2025-08-22 08:13:45 +02:00
COPYING Enable pre-commit 2023-10-30 22:27:12 +02:00
fedora-41.yaml Remove releasever from manifests; add pungi treefile stubs 2024-10-23 15:27:50 -04:00
fedora-42.yaml fedora-42: update repos list 2025-06-09 13:48:58 -04:00
fedora-43.yaml Add Fedora 43 treefile for branching 2025-08-14 14:17:53 -04:00
fedora-bootc-config.json Only rawhide 2024-05-28 19:53:56 +03:00
fedora-bootc.yaml Swap symlink state for fedora-bootc -> fedora-standard 2025-02-25 08:27:20 -05:00
fedora-iot.yaml Drop fedora- prefix from canonical manifests 2025-06-17 15:32:25 -04:00
fedora-minimal-plus.yaml bootc-base-imagectl: support hidden manifests, hide minimal-plus 2025-06-17 15:46:08 -04:00
fedora-minimal.yaml Drop fedora- prefix from canonical manifests 2025-06-17 15:32:25 -04:00
fedora-rawhide.yaml Remove releasever from manifests; add pungi treefile stubs 2024-10-23 15:27:50 -04:00
fedora-standard.yaml Drop fedora- prefix from canonical manifests 2025-06-17 15:32:25 -04:00
fedora.repo fedora.repo: Drop trailing whitespace 2024-04-18 16:33:36 -04:00
install-manifests bootc-base-imagectl: support hidden manifests, hide minimal-plus 2025-06-17 15:46:08 -04:00
iot.yaml Drop fedora- prefix from canonical manifests 2025-06-17 15:32:25 -04:00
LICENSE Initial split from Fedora CoreOS 2022-12-09 15:32:25 -05:00
minimal-plus.hidden.yaml bootc-base-imagectl: support hidden manifests, hide minimal-plus 2025-06-17 15:46:08 -04:00
minimal.yaml Drop fedora- prefix from canonical manifests 2025-06-17 15:32:25 -04:00
README.md README: Markdown lint fixes 2025-04-09 12:11:18 -04:00
renovate.json chore(config): migrate config renovate.json 2025-07-21 08:32:25 +00:00
standard.yaml Drop fedora- prefix from canonical manifests 2025-06-17 15:32:25 -04:00

Fedora bootc base images

Create and maintain base bootable container images from Fedora packages.

Motivation

The original Docker container model of using "layers" to model applications has been extremely successful. This project aims to apply the same technique for bootable host systems - using standard OCI/Docker containers as a transport and delivery format for base operating system updates.

Building images

The current default user experience is to build layered images on top of the official binary base images produced and tested by this project. See the documentation5 for more info.

You can build custom base images by forking this repository; however, https://gitlab.com/fedora/bootc/tracker/-/issues/32 tracks a more supportable mechanism that is not simply forking. For more information see6.

Build process

Building the images in this repo can be done with podman build, but note the build process uses a special podman-ecosystem specific mechanism to create fully custom images while inside a Containerfile. You need to enable some privileges as nested containerization is required.

podman build --security-opt=label=disable --cap-add=all \
  --device /dev/fuse -t localhost/fedora-bootc .

See the Containerfile for more details. This builds the default standard image.

Fedora versions

By default, the base images are built for Fedora rawhide. To build against a different Fedora version, you can override the FROM image used to obtain the Fedora repos and dnf variables. E.g.:

podman build --from quay.io/fedora/fedora:41 ...

Deriving

You are of course also free to fork, customize, and build base images yourself. See this page6 of the documentation for more information.

Tiers

At the current time, there is just one reference base image published to the registry. Internally the content set is split up somewhat into "tiers", but this is an internal implementation detail and may change at any time.

It is planned to rework and improve this in the future, especially to support smaller custom images. For more on this, see this tracker issue.

  • standard: This image is the default, what is published as https://quay.io/repository/fedora/fedora-bootc
  • minimal: This content set is more of a convenient centralization point for CI and curation around a package set that is intended as a starting point for a container base image.
  • minimal-plus: This content set is intended to be the shared base used by all image-based Fedora variants (IoT, Atomic Desktops, and CoreOS).

standard inherits from minimal-plus and minimal-plus in turn inherit from minimal.

All non-trivial changes to minimal and minimal-plus should be ACKed by at least one stakeholder of each Fedora variant WGs.

Available Tiers + Versions

NOTE: The location and naming of these images is subject to change.

Version standard minimal minimal-plus
Rawhide quay.io/fedora-testing/fedora-bootc:rawhide-standard quay.io/fedora-testing/fedora-bootc:rawhide-minimal quay.io/fedora-testing/fedora-bootc:rawhide-minimal-plus
Fedora 42 quay.io/fedora-testing/fedora-bootc:42-standard quay.io/fedora-testing/fedora-bootc:42-minimal quay.io/fedora-testing/fedora-bootc:42-minimal-plus

More information

Documentation: https://docs.fedoraproject.org/en-US/bootc/

Badges

Badge Description Service
Renovate Dependencies Renovate
Pre-commit Static quality gates pre-commit