matrix-org / rust-synapse-compress-state

A tool to compress some state in a Synapse instance's database
https://pypi.org/project/synapse-auto-compressor/
Apache License 2.0
142 stars 32 forks source link

Make the Docker image cross-compile without QEMU emulation #129

Closed sandhose closed 10 months ago

sandhose commented 10 months ago

This does three things:

sandhose commented 10 months ago

I'm not really sure how to test this -- should we kick off a manual build to see it work? (I'm unsure if that'll push the image / cause it to get used automatically.)

You can try building the image locally for a foreign platform, e.g. docker build --platform=linux/arm64 ., and it should work if you have a recent enough docker?