Skip to content

osbuild/bootc-foundry

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

98 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Derived bootc images for image builder

This repository contains a Containerfile for each derived image type used by image builder. The goal is to customize base bootc images of Fedora, CentOS Stream, or RHEL for the target environment (clouds, virtualization) by installing the tools needed for a successful installation or to align with Red Hat or cloud vendor recommendations.

It mirrors what is defined for package-based OS images in distro definitions: https://github.com/osbuild/images/tree/main/data/distrodefs, but there is no parity. The core image content comes from the base container, we just add additional software and configuration to make the image integrate nicely with the target environment.

Supported image formats

This is a work in progress, not all image formats are available.

  • AWS EC2
  • Azure
  • GCE
  • qcow2
  • Anaconda installer

Supported bootable container base images

  • quay.io/fedora/fedora-bootc versions N and N-1 (x86_64, aarch64)
  • quay.io/centos-bootc/centos-bootc versions Stream 9 and 10 (x86_64, aarch64)
  • registry.redhat.io/rhelXX/rhel-bootc (9 and 10) (x86_64)

Organization

Each Containerfile is prefixed with f for Fedora, stream for CentOS Stream, and rhel for RHEL containers, and suffixed with one of: qcow2, ec2, azure, gce, or installer.

Heredocs are not allowed in Containerfiles; files must be copied with COPY either from a common directory for the image type (for example qcow2) or from an OS version or architecture-specific tree (qcow2-amd64). Architecture names follow podman/docker conventions.

Comments explaining why are welcome.

Adding new variants

To add a new Containerfile:

  • Create a new Containerfile in this repo.
  • Add a new component to Konflux config. The name must match the filename, dots are not allowed in component names.
  • Konflux will create .tekton template PR in this repo, tests will fail.
  • Increase memory for pods in the submitted .tekton files (see other files for examples).
  • Link secret named registry-redhat-io in the Konflux UI for the newly created component. This step can be skipped for non-RH content.
  • Merge the .tekton files into this repo.

Build pipeline

Images are built in Konflux and published on quay.io. Repositories with RHEL containers are private. Currently available images:

License

Apache License 2.0

About

Base bootc containers for image builder

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors