Customizing the system image

kairos is a container-based OS, if you want to change kairos and add a package it is required to build only a docker image.

For example:


RUN zypper in -y ...

RUN export VERSION="my-version"
RUN envsubst '${VERSION}' </etc/os-release

The image can be then used with kairos upgrade or with system-upgrade-controller for upgrades within Kubernetes.