I really don't support nor use that repo. I was just putting it up on github for safekeeping since I had (momentary) interest in seeing if I could hear my vp2 ISS over the air a while ago.
I did just run a five-minute test using debian:11 as a base image where I downloaded the script, changed all the "/home/pi" to "/root" therein, and turned off the NGINX and run weewx at boot flags at the top of the file. Also removed the "sudo" part of a couple commands. It seeeeeeeeemed to install and compile everything, but I have no idea if the result would work. Threw some expected errors in the udev stuff inside the container, but at least things compiled. The weewx.conf there undoubted has rtldavis path errors too. As I said, it was literally a five-minute see if it compiles quick test.
Way back when it 'did' work on a pi using the deb11 based 32bit raspios, FWIW.