It shouldn't matter what underlying image is used for the task, because the compiler is fully provided by ./depends/.
So just use the latest Ubuntu LTS, which is also most likely the OS that is used by people cross-compiling, if there are any at all.