[matrix] Upgrade synapse to 1.11.0

This commit is contained in:
Quentin 2020-02-28 08:12:53 +01:00
parent ea32facca2
commit 7476a93dcd
3 changed files with 9 additions and 8 deletions

View file

@ -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

View file

@ -1,3 +1,3 @@
```
docker build -t superboum/amd64_synapse:v24 .
docker build -t superboum/amd64_synapse:v26 .
```

View file

@ -8,7 +8,7 @@ job "chat" {
driver = "docker"
config {
image = "superboum/amd64_synapse:v24"
image = "superboum/amd64_synapse:v26"
readonly_rootfs = true
port_map {
client_port = 8008