-
Notifications
You must be signed in to change notification settings - Fork 91
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
arm64 support for Docker images #1305
Comments
Hi, does relay run fine on arm64 for you if you build it yourself? If so maybe you could consider making a PR to also build images for it. |
@jetxr there is an effort to run the entire sentry stack on arm64: getsentry/self-hosted#914, but since we do not need it ourselves, there is no timeline for it. |
Currently there's no one working on it. It seems that it might require some work to get the build going (at least building on my M1 is not working). Once the build works, the image could be built as experimental on GH. We have an example image being built for Snuba.
|
I recently looked into this. There are several points that need to be addressed:
|
Sorry, I have to correct you: breakpad DOES build on arm64, but not under CentOS 7 as its glibc version is too old. Here's a modified Dockerfile. I've built a multiplatform (amd64,arm64) image via buildx (cross-compiled) and successfully deployed it onto an ARM server. For those who want to test it, I've published the relay image on dockerhub here |
Does AWS T4g support that build with the updated glibc version? That was the primary reason why we switched to building on CentOS 7 in the first place. |
+1 We need this as Graviton CPUs on AWS are cheaper and its the non-serverless part of the companies I'm working for. Will be great to have this Relay at least built on ARM (docker and binaries) which I think the only problematic will be that Rust part anyway |
We are also looking for this, for the reasons mentioned above. Perhaps @alekitto could open a PR for multiarch? |
Same here |
I've tried getting the build working on #2370, it builds fine locally on an Intel Mac but I can't get it to work on Linux (CI on PR and local ubuntu VM). The error message during dependency installation is not helpful and I don't know what the root cause is, but I suspect there's a circular dependency with |
I don't understand why we couldn't have a docker image support for arm64 at this point. We really need this like really ! |
@maximebeaudoin it's on our todo and something I also really want to get working, but unfortunately this does require a bigger restructure of the CI pipeline, so that's why it was moved back to the backlog. |
Took me longer than I wanted but we have ARM docker images now! We're still in the process of actually testing them fully (we still don't use them in production, yet). I don't expect any issues (Rust is very good in that regard) but any testing is very welcome. |
could you tell me how to use it,i'm new one on using docker,also my computer is M1 chip |
Support for ARM architecture has been added to the official image, please refer to the official instructions on how to use it. |
Looks like the Docker images are built for amd64 only and don't support ARM architectures.
I was trying to run Sentry Relay on a AWS T4g instance, and ran into this error:
Looks like the base image while running is debian:buster, which supports arm64. Any chance arm64 could be supported?
The text was updated successfully, but these errors were encountered: