[matrix] Upgrade synapse to 1.11.0
This commit is contained in:
parent
ea32facca2
commit
7476a93dcd
3 changed files with 9 additions and 8 deletions
|
@ -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 && \
|
RUN apt-get update && \
|
||||||
apt-get -qq -y full-upgrade && \
|
apt-get -qq -y full-upgrade && \
|
||||||
|
@ -23,24 +23,25 @@ RUN apt-get update && \
|
||||||
virtualenv /root/matrix-env -p /usr/bin/python3 && \
|
virtualenv /root/matrix-env -p /usr/bin/python3 && \
|
||||||
. /root/matrix-env/bin/activate && \
|
. /root/matrix-env/bin/activate && \
|
||||||
pip3 install \
|
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 && \
|
RUN apt-get update && \
|
||||||
apt-get -qq -y full-upgrade && \
|
apt-get -qq -y full-upgrade && \
|
||||||
apt-get install -y \
|
apt-get install -y \
|
||||||
python3 \
|
python3 \
|
||||||
|
python3-distutils \
|
||||||
libffi6 \
|
libffi6 \
|
||||||
libjpeg62-turbo \
|
libjpeg62-turbo \
|
||||||
libssl1.1 \
|
libssl1.1 \
|
||||||
libxslt1.1 \
|
libxslt1.1 \
|
||||||
libpq5 \
|
libpq5 \
|
||||||
zlib1g \
|
zlib1g \
|
||||||
libjemalloc1 \
|
libjemalloc2 \
|
||||||
ca-certificates
|
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 --from=builder /root/matrix-env /root/matrix-env
|
||||||
COPY entrypoint.sh /usr/local/bin/entrypoint
|
COPY entrypoint.sh /usr/local/bin/entrypoint
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
```
|
```
|
||||||
docker build -t superboum/amd64_synapse:v24 .
|
docker build -t superboum/amd64_synapse:v26 .
|
||||||
```
|
```
|
||||||
|
|
|
@ -8,7 +8,7 @@ job "chat" {
|
||||||
driver = "docker"
|
driver = "docker"
|
||||||
|
|
||||||
config {
|
config {
|
||||||
image = "superboum/amd64_synapse:v24"
|
image = "superboum/amd64_synapse:v26"
|
||||||
readonly_rootfs = true
|
readonly_rootfs = true
|
||||||
port_map {
|
port_map {
|
||||||
client_port = 8008
|
client_port = 8008
|
||||||
|
|
Reference in a new issue