aboutsummaryrefslogtreecommitdiff
path: root/docker/matrix-synapse
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2020-02-28 08:12:53 +0100
committerQuentin Dufour <quentin@deuxfleurs.fr>2020-02-28 08:12:53 +0100
commit7476a93dcd9ffc6b4df2ed33ac9bc5d311d0bcdb (patch)
tree55fa799e0350485a50b5fd46765ac14cd629c580 /docker/matrix-synapse
parentea32facca263f3b3b5e12dd3193625d2ac2b7b9e (diff)
downloadinfrastructure-7476a93dcd9ffc6b4df2ed33ac9bc5d311d0bcdb.tar.gz
infrastructure-7476a93dcd9ffc6b4df2ed33ac9bc5d311d0bcdb.zip
[matrix] Upgrade synapse to 1.11.0
Diffstat (limited to 'docker/matrix-synapse')
-rw-r--r--docker/matrix-synapse/Dockerfile13
-rw-r--r--docker/matrix-synapse/README.md2
2 files changed, 8 insertions, 7 deletions
diff --git a/docker/matrix-synapse/Dockerfile b/docker/matrix-synapse/Dockerfile
index 7b7d4a5..cfa3f92 100644
--- a/docker/matrix-synapse/Dockerfile
+++ b/docker/matrix-synapse/Dockerfile
@@ -1,6 +1,6 @@
-FROM amd64/debian:stretch as builder
+FROM amd64/debian:buster as builder
-ENV VERSION 1.8.0
+ENV VERSION 1.11.0
RUN apt-get update && \
apt-get -qq -y full-upgrade && \
@@ -23,24 +23,25 @@ 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[email.enable_notifs,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]
-FROM amd64/debian:stretch
+FROM amd64/debian:buster
RUN apt-get update && \
apt-get -qq -y full-upgrade && \
apt-get install -y \
python3 \
+ python3-distutils \
libffi6 \
libjpeg62-turbo \
libssl1.1 \
libxslt1.1 \
libpq5 \
zlib1g \
- libjemalloc1 \
+ libjemalloc2 \
ca-certificates
-ENV LD_PRELOAD /usr/lib/x86_64-linux-gnu/libjemalloc.so.1
+ENV LD_PRELOAD /usr/lib/x86_64-linux-gnu/libjemalloc.so.2
COPY --from=builder /root/matrix-env /root/matrix-env
COPY entrypoint.sh /usr/local/bin/entrypoint
diff --git a/docker/matrix-synapse/README.md b/docker/matrix-synapse/README.md
index 832ef53..89b106b 100644
--- a/docker/matrix-synapse/README.md
+++ b/docker/matrix-synapse/README.md
@@ -1,3 +1,3 @@
```
-docker build -t superboum/amd64_synapse:v24 .
+docker build -t superboum/amd64_synapse:v26 .
```