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
2023-09-15 15:11:01 -04:00
2023-09-15 15:11:01 -04:00
2023-09-15 15:11:01 -04:00
2023-03-04 09:45:57 -05:00
2023-09-15 15:11:01 -04:00
2022-12-09 15:32:25 -05:00
2022-12-09 15:52:45 -05:00
2022-12-09 15:52:45 -05:00
2023-09-15 15:11:01 -04:00
2022-12-09 15:52:45 -05:00
2022-12-09 15:32:25 -05:00
2023-09-13 17:45:16 -04:00

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

Languages
Dockerfile 62.9%
Shell 37.1%