Here you can find build script use to build mickaelguene/arm64-debian docker image.
This image embed umeq so you can use it on a x86_64 machine with binfmt_misc support enable.
Just use FROM mickaelguene/arm64-debian:<VERSION>
in your Dockerfile do use it as
a base image.
You can also test it with a bash prompt:
sudo docker pull mickaelguene/arm64-debian:<VERSION>
sudo docker run -i -t mickaelguene/arm64-debian:<VERSION> /bin/bash
You can rebuild on an x86_64 machine by calling build.sh script
All the above will work if you have binfmt_misc support enable and configure
If you use a debian base distro then just install needed packages
sudo apt-get install qemu binfmt-support qemu-user-static
I have not tested all following commands so it might failed.
First mount binfmt_misc file system
sudo mount binfmt_misc -t binfmt_misc /proc/sys/fs/binfmt_misc
Then configure support for aarch64
sudo sh -c 'echo "umeq-arm64:M::\x7fELF\x02\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\xb7:\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff:/usr/bin/umeq-arm64:" > /proc/sys/fs/binfmt_misc/register'