A new version of KERN is released roughly every year and is based on the latest Ubuntu LTS release. The current release of KERN is KERN-9 and is based on Ubuntu 22.04 (Jammy). To enable the KERN-9 repository on a Ubuntu 22.04 system run:
$ sudo apt-get install software-properties-common
$ sudo add-apt-repository -s ppa:kernsuite/kern-9
$ sudo apt-add-repository multiverse
$ sudo apt-add-repository restricted
$ sudo apt-get update
Now you are ready to install some packages, for example python3-casacore:
$ sudo apt-get install python3-casacore
FROM kernsuite/base:9
RUN docker-apt-install python3-casacore
Bootstrap: docker
From:kernsuite/base:9
%post
docker-apt-install python3-casacore