Go to file
Colin Walters 7361f26eeb Introduce a tier-0 image
This is basically just:

- kernel
- systemd
- selinux-policy-targeted
- bootc

Notably it doesn't have `rpm-ostree` or `rpm`, or many other things.
It also doesn't even have `linux-firmware`.

And no `openssh`!

It's almost certain that you need to derive from this, but
it should be a suitable starting point.

TODO: Add something like

```
$ dnf-system-bootstrap
Installing packaging tools from quay.io/fedora/fedora-boot-dnf@sha256:abcd...)
 # This would be basically all the packages not in tier-0 that
 # are enough to give `dnf install`
$ dnf install cowsay
 # Install critical stuff
$ dnf system-bootstrap remove
 # Remove everything that we added for the package system, that isn't
 # a dependency of what the user wants!
```

(In theory we could make this work with multi-stage builds, but
 it's a little hard)
2023-09-15 15:11:01 -04:00
tier-0 Introduce a tier-0 image 2023-09-15 15:11:01 -04:00
tier-1 Introduce a tier-0 image 2023-09-15 15:11:01 -04:00
.gitlab-ci.yml Introduce a tier-0 image 2023-09-15 15:11:01 -04:00
COPYING Initial split from Fedora CoreOS 2022-12-09 15:32:25 -05:00
LICENSE Initial split from Fedora CoreOS 2022-12-09 15:32:25 -05:00
README.md A few renames; oscore -> tier-1 2023-09-13 17:45:16 -04:00
c9s.repo Fix typo 2023-03-04 09:45:57 -05:00
centos-stream-9.yaml Introduce a tier-0 image 2023-09-15 15:11:01 -04:00
centos-tier-0-rt-stream9.yaml Introduce a tier-0 image 2023-09-15 15:11:01 -04:00
centos-tier-0-stream9.yaml Introduce a tier-0 image 2023-09-15 15:11:01 -04:00
centos-tier-1-rt-stream9.yaml Introduce a tier-0 image 2023-09-15 15:11:01 -04:00
centos-tier-1-stream9.yaml Introduce a tier-0 image 2023-09-15 15:11:01 -04:00
fedora-next.repo Add a c9s build 2022-12-09 15:52:45 -05:00
fedora-rawhide.repo Add a c9s build 2022-12-09 15:52:45 -05:00
fedora-tier-0-38.yaml Introduce a tier-0 image 2023-09-15 15:11:01 -04:00
fedora-tier-1-38.yaml Rework naming more in preparation for more tiers 2023-09-15 09:51:48 -04:00
fedora.repo Add a c9s build 2022-12-09 15:52:45 -05:00

README.md

Demonstration base images for Project Sagano

This is part of Project Sagano.

These images are technology demonstrators, not for production use. The intention is that these images are generated by the OS vendor or distribution. Or, you can fork this repository and generate your own via rpm-ostree compose image.

Available images

Fedora 38

registry.gitlab.com/cgwalters-playground/bootc-demo-base-images/fedora-boot:latest

CentOS Stream 9

registry.gitlab.com/cgwalters-playground/bootc-demo-base-images/c9s-boot

What's in them?

The current manifest definitions were forked from Fedora CoreOS, but significantly cut down.

The existing content set is obviously subject to change and debate.

Ideally, we support a workflow where even rpm-ostree can be removed after builds.

Building

Here's an example command:

$ sudo rpm-ostree compose image --authfile ~/.config/containers/myquay.json --cachedir=cache -i --format=oci fedora.yaml fedora.oci

More information at https://coreos.github.io/rpm-ostree/container/

Plan

Phase 0

Phase 1