graphql-ppx icon indicating copy to clipboard operation
graphql-ppx copied to clipboard

Docker on the Apple Silicon Mac won't copy the ppx files and use Rosetta

Open JonoPrest opened this issue 2 years ago • 0 comments

Hi there,

I initially created this pull request then realising it is not as simple as just swapping out process.arch "arm64" for x64.

https://github.com/teamwalnut/graphql-ppx/pull/278

I am running into issues when using graphql-ppx with docker (in a linux container) running on an Mac M1-Pro chip. The copyPlatformBinaryInPlace.js will say that the platform is unsupported when infact Rosetta will run the linux-x64 ppx file perfectly fine. It would be great to have a solution for this.

Thanks!

JonoPrest avatar May 09 '22 18:05 JonoPrest