Building stack applications for arm64 is literaly the most painful thing ever.
The bighest use case for this is raspberry pi. :)
Use script build.sh to build the stack application for arm64.
- Docker
- qemu
- binfmt-support
- qemu-user-static
First install the dependencies:
sudo apt-get install qemu binfmt-support qemu-user-static
Then (once per machine)
docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
Finally you can build the application:
./build.sh