Turns out compiling was rather straightforward following these instructions.
I do now have an lxc container based on Debian stretch with an unconfigured installation of mythbackend and mythweb. In case anybody is interested, I’d be happy to share that.
Now I just have to get my tuner to work.