This repository hosts Containerfiles and GitHub workflows to create custom Fedora Kinoite images for my own usage.
The main image (quay.io/travier/fedora-kinoite:latest
) is based on Fedora
Kinoite with the following packages overlayed:
- libvirtd (libvirt-daemon libvirt-daemon-config-network libvirt-daemon-driver-interface libvirt-daemon-driver-network libvirt-daemon-driver-nwfilter libvirt-daemon-driver-qemu libvirt-daemon-driver-secret libvirt-daemon-driver-storage-core libvirt-dbus qemu-kvm)
- vim, zsh
and the following default configuration:
- container policy set to verify those container images and toolbox images
The others images are currently used for testing various in progress changes for Fedora Kinoite.
-
Install Fedora Kinoite, update to the latest version and reboot.
-
Setup the key to validate container image signatures:
# Install public key
$ sudo mkdir /etc/pki/containers
$ curl -O "https://raw.githubusercontent.com/travier/fedora-kinoite/main/quay.io-travier-fedora-kinoite.pub"
$ sudo cp quay.io-travier-fedora-kinoite.pub /etc/pki/containers/
$ sudo restorecon -RFv /etc/pki/containers
# Configure registry to get sigstore signatures
$ cat /etc/containers/registries.d/quay.io-travier-fedora-kinoite.yaml
docker:
quay.io/travier/fedora-kinoite:
use-sigstore-attachments: true
$ sudo restorecon -RFv /etc/containers/registries.d/quay.io-travier-fedora-kinoite.yaml
# Setup the policy
$ sudo cp etc/containers/policy.json /etc/containers/policy.json
$ cat /etc/containers/policy.json
{
"default": [
{
"type": "reject"
}
],
"transports": {
"docker": {
...
"quay.io/travier/fedora-kinoite": [
{
"type": "sigstoreSigned",
"keyPath": "/etc/pki/containers/quay.io-travier-fedora-kinoite.pub",
"signedIdentity": {
"type": "matchRepository"
}
}
],
...
"": [
{
"type": "insecureAcceptAnything"
}
]
},
...
}
}
- Then rebase to this image:
$ rpm-ostree rebase ostree-image-signed:registry:quay.io/travier/fedora-kinoite:latest
Then update normally using rpm-ostree update
or Discover.
- The base images are not yet official Fedora images. The location will change.
- The images are only available for x86_64 for now.