Fix synapse container build
All checks were successful
/ build-synapse (push) Successful in 17s

This commit is contained in:
Finn 2024-09-20 12:23:52 -07:00
parent fafa7a25fb
commit e99d76c870

View file

@ -1,4 +1,4 @@
FROM matrixdotorg/synapse:v1.115.0 FROM matrixdotorg/synapse:v1.115.0
RUN pip install boto3 humanize tqdm RUN pip install boto3 humanize tqdm
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/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 -L https://github.com/matrix-org/synapse-s3-storage-provider/raw/main/scripts/s3_media_upload && chmod +x /usr/local/bin/s3_media_upload | sed "s#/usr/bin/env python#/usr/local/bin/python#" > /usr/local/bin/s3_media_upload RUN curl -L https://github.com/matrix-org/synapse-s3-storage-provider/raw/main/scripts/s3_media_upload | sed "s#/usr/bin/env python#/usr/local/bin/python#" > /usr/local/bin/s3_media_upload && chmod +x /usr/local/bin/s3_media_upload