WIP - ref(build): Support building Arm64 Docker image
It's the end of a long week. Could someone verify if I have something working in here?
You can reproduce the build and run the server like this:
make install-py-dev
sentry devservices up postgres redis
docker build -f docker/Dockerfile -t sentry_arm64 .
docker run --network sentry \
-e DATABASE_URL=postgresql://postgres:@sentry_postgres:5432/sentry
-e SENTRY_REDIS_HOST=sentry_redis \
-e SENTRY_SECRET_KEY=foo -p 8000:8000 --rm -it sentry_arm64
We did manage to produce a Snuba arm64 image in Github's CI. Perhaps we can add something like that later on: https://github.com/getsentry/snuba/blob/c37a3cc0dabb4c7c0fc31621080b4b75e0a6a8aa/.github/workflows/ci.yml#L134-L192
This pull request has gone three weeks without activity. In another week, I will close it.
But! If you comment or otherwise update it, I will reset the clock, and if you label it Status: Backlog or Status: In Progress, I will leave it alone ... forever!
"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀
Bump
Why don't merge this?
Why don't merge this?
Because it is not good. This is the Docker image that is used as part of the release work and we cannot be adding hacks (as my comments in the code indicate). I do not have the cycles to work on this.
If anyone is willing to take it on feel free. I can guide with reviews.