91 lines
2.6 KiB
Markdown
91 lines
2.6 KiB
Markdown
---
|
|
nav_order: 1
|
|
---
|
|
|
|
# Goals
|
|
|
|
This project's toplevel goal is to maintain default definitions for
|
|
base *bootable* container images, locked with Fedora ELN and CentOS Stream 9.
|
|
|
|
## Status
|
|
|
|
This is an in-development project not intended for production use yet.
|
|
|
|
## Container images
|
|
|
|
The primary output of this project is container images. The current
|
|
main development targets are [Fedora ELN](https://docs.fedoraproject.org/en-US/eln/)
|
|
and CentOS Stream 9.
|
|
|
|
### Distribution locked images
|
|
|
|
These images are intended to exactly match the content of the underlying distribution.
|
|
|
|
- `quay.io/centos-bootc/fedora-bootc:eln`
|
|
- `quay.io/centos-bootc/centos-bootc:stream9`
|
|
|
|
### Layered images
|
|
|
|
There are also layered images; for more information on these, see
|
|
[the centos-bootc-layered repository](https://gitlab.com/bootc-org/centos-bootc-layered).
|
|
|
|
### Development images
|
|
|
|
Some components of this project move quickly, and it's often useful to see things
|
|
as they appear in git `main` instead of waiting for package releases.
|
|
|
|
The following images track git main of selected components:
|
|
|
|
- `quay.io/centos-bootc/fedora-bootc-dev:eln`
|
|
- `quay.io/centos-bootc/centos-bootc-dev:stream9`
|
|
|
|
For more information, see [the dev repository](https://github.com/centos/centos-bootc-dev).
|
|
|
|
## Trying it out
|
|
|
|
See [install.md](./install.md).
|
|
|
|
## Understanding "tiers"
|
|
|
|
There is a "tier-0" image, but it is not yet being automatically built. The "tier-0"
|
|
contains:
|
|
|
|
- kernel
|
|
- systemd
|
|
- bootc
|
|
- selinux-policy-targeted
|
|
|
|
The tier-1 is a reasonably large system:
|
|
|
|
- NetworkManager, chrony
|
|
- openssh-server
|
|
- dnf (for installing packages in container builds)
|
|
- rpm-ostree (A lot of tooling uses this too)
|
|
|
|
The content set for these images is subject to change.
|
|
|
|
## Building
|
|
|
|
Here's an example command:
|
|
|
|
```shell
|
|
sudo rpm-ostree compose image --authfile ~/.config/containers/myquay.json --cachedir=cache -i --format=ociarchive centos-tier-0-stream9.yaml centos-tier-0-stream9.ociarchive
|
|
```
|
|
|
|
In some situations, copying to a local `.ociarchive` file is convenient. You
|
|
can also push to a registry with `--format=registry`.
|
|
|
|
More information at <https://coreos.github.io/rpm-ostree/container/>
|
|
|
|
## Badges
|
|
|
|
| Badge | Description | Service |
|
|
| ----------------------- | -------------------- | ------------ |
|
|
| [![Renovate][1]][2] | Dependencies | Renovate |
|
|
| [![Pre-commit][3]][4] | Static quality gates | pre-commit |
|
|
|
|
[1]: https://img.shields.io/badge/renovate-enabled-brightgreen?logo=renovate
|
|
[2]: https://renovatebot.com
|
|
[3]: https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit
|
|
[4]: https://pre-commit.com/
|