Add synapse container build with s3 storage backend
Some checks failed
/ build-container (push) Failing after 33s

This commit is contained in:
Finn 2024-08-08 12:27:35 -07:00
parent 35b9d46c34
commit 6aa98f85c8
2 changed files with 26 additions and 0 deletions

View file

@ -0,0 +1,4 @@
FROM matrixdotorg/synapse:latest
RUN pip install boto3
RUN curl -o /usr/local/lib/python3.11/site-packages/s3_storage_provider.py https://github.com/matrix-org/synapse-s3-storage-provider/raw/v1.4.0/s3_storage_provider.py
RUN curl -o /usr/local/bin/s3_media_upload https://github.com/matrix-org/synapse-s3-storage-provider/raw/main/scripts/s3_media_upload && chmod +x /usr/local/bin/s3_media_upload