Skip to content

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

@JonoPrest

Description

@JonoPrest

Hi there,

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

#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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions