If you are building it on your mac, you are most probably building the image for ARM, while your classical server is using x86-64. For cross-compilation I think you need to setup qemu locally.
If you are building it on your mac, you are most probably building the image for ARM, while your classical server is using x86-64. For cross-compilation I think you need to setup qemu locally.