The debian commands aren’t really your most pressing concern: the ARM64 architecture is.
We currently only build Docker images for AMD64 and ARM32. This is mostly due to practicality.
Starting an ARM64 build on our end is trivial. Add
linux/arm64 to the --platform argument seen eg. here. (repeat for ~10 other image builds). The problem is that those builds then take an hour. We pull pre-built python dependencies from PyPi (AMD64) and Piwheels (ARM32). If those are not available, builds suddenly take much longer.
The increase in build time is mostly due to emulation. The build servers we use are AMD64. We can emulate an ARM architecture using buildx, but that causes a factor 10 increase in build times.
You can choose to build and use your own images. This would entail cloning the code repositories, and running a build script for each release.
It requires some additional configuration, and running some scripts for each release, but it’s far from impossible.
The good news is that if you’re building locally, you don’t need to mess around with crosscompilation builders. You can just use the normal
docker build command.