-
Notifications
You must be signed in to change notification settings - Fork 102
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
Update README to include instructions for building to ARM. #555
Conversation
Addresses similar issues to those present in #271. The issue was closed by updating certain Python package versions but the problem still exists on current builds. Using the x86 flags in the docker build and run causes the errors to not occur. |
Update to the changes from * to _ It's just Prettier linting preference, looking at the Markdown docs (*) is still perfectly fine. I can change it back to (*) for italics if needed. |
IIRC, it didn't used to be necessary to build the dojo itself on ARM. The infra used to run on ARM. The challenge image was built using the platform argument though. I think we should take a quick look to see if we can make this possible before running everything through Apple's Rosetta. |
@robwaz Currently trying to build directly to ARM without the platform arguments causes the build to succeed but the container fails on startup. I was trying to build directly for a few hours last night and the night before. The container fails at random points weirdly enough. It's always step 28 but the command being executed is different. From what I can see it isn't a specific package that causes the crash. I could be wrong and I can provide more logs when I get back home if we want to try and debug further. Logs of the errors I got last night are attached below.
This is trying to remap the ports to something else that isn't system reserved:
|
Thanks for trying to resolve this! I think #558 is the correct fix. |
#558 Appears to be a better fix method than forcing the dojo to run through Rosetta. |
Updated the build instructions for macOS on ARM. Specifically, I updated the Readme to show the required flags to ensure that builds on ARM machines utilize x86 emulation rather than targeting ARM architecture. These updates are in the macOS warning section under Local Deployment.
Additionally, I improved the README by updating the markdown syntax, replacing asterisks (*) with underscores (_) for italics.