nakama icon indicating copy to clipboard operation
nakama copied to clipboard

[FEATURE REQUEST] Support arm64 builds

Open amcintyre-zynga opened this issue 3 years ago • 2 comments

Please can you support arm64 builds.

I've tried building Nakama to run in docker on a macbook m1. I just had to take build/Dockerfile, build/Dockerfile.dsym and build/pluginbuilder/Dockerfile, change ENV GOARCH amd64 to ENV GOARCH arm64 and rebuild and I now have it building and running without rosetta translation overhead there would otherwise be.

amcintyre-zynga avatar Jan 27 '22 17:01 amcintyre-zynga

Please can you support arm64 builds.

I've tried building Nakama to run in docker on a macbook m1. I just had to take build/Dockerfile, build/Dockerfile.dsym and build/pluginbuilder/Dockerfile, change ENV GOARCH amd64 to ENV GOARCH arm64 and rebuild and I now have it building and running without rosetta translation overhead there would otherwise be.

how can I achieve that?? I'm using Mac m1 arm64 directly on binary without using docker ?? and they only have support for AMD64 ?? I installed rosetta but I have little to no knowledge on how it works. thanks in advance

sana2024 avatar Jul 02 '22 21:07 sana2024

Seems to work fine on my machine (Macbook M1 max, no GO modules, using the docker-compose prebuilts)

shayneoneill avatar Nov 15 '22 03:11 shayneoneill