Unable to Generate Logs and Hanging Execution with unityci/editor Docker Image on Mac with Apple Silicon
- Dominant language
- Dockerfile
- Stars
- 470
- Forks
- 140
- PR merge metrics
- No merged PRs in 30d
Description
I am trying to use the Docker image `unityci/editor:ubuntu-2022.3.18f1-webgl-3.0.1` on a Mac with Apple Silicon (M1/M2) to run the following command after setting the license:
```
unity-editor -enablePackageManagerTraces -logfile /dev/stdout -quit -batchmode -nographics -buildTarget WebGL -projectPath "/src/Frontend"
```
**Problem Description:**
- When I build the Docker image on Linux or Windows that contains the above command, I observe that the command produces many logs and executes successfully.
- However, when I build the image using the same command on a Mac with an Apple chip (M1/M2), I encounter the following issues:
- The command produces no logs.
- The execution appears to hang without completing.
Note that I execute the docker build command with the flag `--platform=linux/amd64` since there is no image for `arm64`
I would appreciate any insights or guidance on how to resolve this issue and make the Docker image work smoothly on Macs with Apple Silicon. Thank you!
Contributor guide
Assessment
This issue has not been assessed yet.