From 9097168b73f006441e7204b816882c39f5b0e773 Mon Sep 17 00:00:00 2001 From: Finn Date: Sun, 18 Aug 2024 23:10:30 -0700 Subject: [PATCH] Some synapse container fixes --- containers/synapse/Containerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/containers/synapse/Containerfile b/containers/synapse/Containerfile index e7aa902..b92b2eb 100644 --- a/containers/synapse/Containerfile +++ b/containers/synapse/Containerfile @@ -1,4 +1,4 @@ FROM matrixdotorg/synapse:latest -RUN pip install boto3 +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/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 -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