I used an ubuntu docker container for the build process
docker run -it -v $(pwd):/root ubuntu:groovy /bin/bash
Inside the container
apt update
apt install rsync dwarves bc kmod cpio flex cpio libncurses5-dev libssl-dev gcc-aarch64-linux-gnu bison kernel-wedge build-essential wget fakeroot git
cd /root
git clone https://git.launchpad.net/~ubuntu-kernel-test/ubuntu/+source/linux/+git/mainline-crack