sentry icon indicating copy to clipboard operation
sentry copied to clipboard

WIP - ref(build): Support building Arm64 Docker image

Open armenzg opened this issue 3 years ago • 2 comments

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

armenzg avatar Aug 26 '22 20:08 armenzg

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 🥀

github-actions[bot] avatar Sep 17 '22 00:09 github-actions[bot]

Bump

mrmachine avatar Sep 17 '22 02:09 mrmachine

Why don't merge this?

long2ice avatar Dec 14 '22 02:12 long2ice

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.

armenzg avatar Dec 14 '22 13:12 armenzg