-
-
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
Add ARM support #1538
Add ARM support #1538
Conversation
Looking forward to LEG support. |
I have to admit I googled "leg computer architecture" before remembering that you are entering into your prime with the dad jokes. 😏 😁 🤦♂️ |
@chadwhitacre this is only the beginning but I'll save Sentry's public repos of the horrors. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So with this change there isn't any other stuff which does not work on ARM?
Unclear. We have ARM working for main Sentry dev env so should be able to audit that ... |
This works around the issue docker/cli#3286, namely that containers are not built for linux/arm64 on Apple silicon Macs. To solve this we add a PLATFORM variable which is used for building local containers.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @ethanhs !
…settings This allows running e.g. docker-compose up -d after running ./install.sh without needing to source install/check-platform.sh
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure if it needs more change for ARM or not, but I've tested this in a clean local machine and it works fine.
Well, it works on my machine :) (which is an ARM/M1 Pro Mac). I haven't tested this on ARM Linux, but it should theoretically work. |
@ethanhs lolsob I'm the PR author so I can't approve. Left some comments inline. |
@chadwhitacre Ha, yeah I was going to request review from you but you can't do that on your own PR :P |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is good to merge :)
#914