synapse container curl: follow redirects
All checks were successful
/ build-synapse (push) Successful in 1m4s

This commit is contained in:
Finn 2024-08-08 12:38:33 -07:00
parent 7d984b861b
commit 91dae841be

View file

@ -1,4 +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
RUN curl -Lo /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 -Lo /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