-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
relay compiler breaks when trying to run inside a docker #3939
Comments
@daniloab Does you process.platform and process.arch return these supported values? |
Yes, avoiding run relay compiler command and get into the image the process is this one below: The best resolution is building the app before sending it to the container. But once the error was caught I found it interesting to open a question |
Experiencing the same problem on a similar set up:
My use case is using VSCode devcontainers - specifically the container |
Looks like this might be a duplicate of #3799 - Fix shipped in https://github.com/facebook/relay/releases/tag/v14.0.0 |
I'm trying to build a docker image with a nextjs + relay app.
When building the image I install the dependencies and run the build command. The build command has a prebuild command responsible to run the relay compiler.
When trying to build the image following the steps above returns the error of platform not supported by the relay-compiler.
Here is an example of the repository with this error happening.
Steps to reproduce:
git clone git@github.com:daniloab/relay-13-nextjs.git
yarn
docker build -t relay-13-nextjs-image .
and should return the same error:
would I be failing to set some platform configuration?
environment
os: macOS Big Sur 11.6 [MacBook m1]
relay: 13.2.0
node: v16.13.2
The text was updated successfully, but these errors were encountered: