aboutsummaryrefslogtreecommitdiff
path: root/app/im/build/matrix-synapse
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2021-06-04 19:48:50 +0200
committerQuentin Dufour <quentin@deuxfleurs.fr>2021-06-04 19:48:50 +0200
commitefcdef78564b3a3777efa5c1ed99ebc77fab0131 (patch)
treeab96d8ccffdc0908bb73055b30580a95ffc631bc /app/im/build/matrix-synapse
parent62fa15390b6997dfa25e22fbec7ca4b92c52fe74 (diff)
downloadinfrastructure-efcdef78564b3a3777efa5c1ed99ebc77fab0131.tar.gz
infrastructure-efcdef78564b3a3777efa5c1ed99ebc77fab0131.zip
Matrix 1.35.1 + S3 backend
Diffstat (limited to 'app/im/build/matrix-synapse')
-rw-r--r--app/im/build/matrix-synapse/Dockerfile5
1 files changed, 4 insertions, 1 deletions
diff --git a/app/im/build/matrix-synapse/Dockerfile b/app/im/build/matrix-synapse/Dockerfile
index b8480d5..20650d0 100644
--- a/app/im/build/matrix-synapse/Dockerfile
+++ b/app/im/build/matrix-synapse/Dockerfile
@@ -1,6 +1,7 @@
FROM amd64/debian:buster as builder
ARG VERSION
+ARG S3_VERSION
RUN apt-get update && \
apt-get -qq -y full-upgrade && \
apt-get install -y \
@@ -22,7 +23,9 @@ RUN apt-get update && \
virtualenv /root/matrix-env -p /usr/bin/python3 && \
. /root/matrix-env/bin/activate && \
pip3 install \
- https://github.com/matrix-org/synapse/archive/v${VERSION}.tar.gz#egg=matrix-synapse[matrix-synapse-ldap3,postgres,resources.consent,saml2,url_preview]
+ https://github.com/matrix-org/synapse/archive/v${VERSION}.tar.gz#egg=matrix-synapse[matrix-synapse-ldap3,postgres,resources.consent,saml2,url_preview] && \
+ pip3 install \
+ git+https://github.com/matrix-org/synapse-s3-storage-provider.git@${S3_VERSION}
FROM amd64/debian:buster