aboutsummaryrefslogtreecommitdiff
path: root/cluster/prod/app/matrix/build
diff options
context:
space:
mode:
authorADRN <adrien@luxeylab.net>2024-09-26 18:58:51 +0200
committerADRN <adrien@luxeylab.net>2024-09-26 18:58:51 +0200
commitfabf31a7205163aa55e001b58e7cc08c7c3eeb52 (patch)
treea4c8ced9356cd6039399757608d4136b176ccc32 /cluster/prod/app/matrix/build
parentc044078a6e15b90dd4e59021b2196997cbdfe689 (diff)
downloadnixcfg-fabf31a7205163aa55e001b58e7cc08c7c3eeb52.tar.gz
nixcfg-fabf31a7205163aa55e001b58e7cc08c7c3eeb52.zip
update Synapse to v1.104.0 & Riot to v1.11.78
Diffstat (limited to 'cluster/prod/app/matrix/build')
-rw-r--r--cluster/prod/app/matrix/build/docker-compose.yml10
-rw-r--r--cluster/prod/app/matrix/build/matrix-synapse/Dockerfile9
-rw-r--r--cluster/prod/app/matrix/build/riotweb/Dockerfile13
3 files changed, 18 insertions, 14 deletions
diff --git a/cluster/prod/app/matrix/build/docker-compose.yml b/cluster/prod/app/matrix/build/docker-compose.yml
index 6a48f18..3b70b64 100644
--- a/cluster/prod/app/matrix/build/docker-compose.yml
+++ b/cluster/prod/app/matrix/build/docker-compose.yml
@@ -6,18 +6,18 @@ services:
context: ./riotweb
args:
# https://github.com/vector-im/element-web/releases
- VERSION: 1.11.49
- image: lxpz/amd64_elementweb:v35
+ VERSION: v1.11.78
+ image: particallydone/amd64_elementweb:v36
synapse:
build:
context: ./matrix-synapse
args:
# https://github.com/matrix-org/synapse/releases
- VERSION: 1.95.1
+ VERSION: v1.104.0
# https://github.com/matrix-org/synapse-s3-storage-provider/commits/main
# Update with the latest commit on main each time you update the synapse version
# otherwise synapse may fail to launch due to incompatibility issues
# see this issue for an example: https://github.com/matrix-org/synapse-s3-storage-provider/issues/64
- S3_VERSION: v1.2.1
- image: lxpz/amd64_synapse:v58
+ S3_VERSION: 2c46a764f700e6439afa11c00db827ddf21a9e89
+ image: particallydone/amd64_synapse:v59
diff --git a/cluster/prod/app/matrix/build/matrix-synapse/Dockerfile b/cluster/prod/app/matrix/build/matrix-synapse/Dockerfile
index 2ab0b98..5a6f709 100644
--- a/cluster/prod/app/matrix/build/matrix-synapse/Dockerfile
+++ b/cluster/prod/app/matrix/build/matrix-synapse/Dockerfile
@@ -1,4 +1,4 @@
-FROM amd64/debian:bookworm as builder
+FROM amd64/debian:trixie as builder
ARG VERSION
ARG S3_VERSION
@@ -22,11 +22,12 @@ RUN apt-get update && \
libpq-dev \
virtualenv \
libxslt1-dev \
- git && \
- virtualenv /root/matrix-env -p /usr/bin/python3 && \
+ git
+
+RUN 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/element-hq/synapse/archive/${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}
diff --git a/cluster/prod/app/matrix/build/riotweb/Dockerfile b/cluster/prod/app/matrix/build/riotweb/Dockerfile
index c768e87..ec4f5dd 100644
--- a/cluster/prod/app/matrix/build/riotweb/Dockerfile
+++ b/cluster/prod/app/matrix/build/riotweb/Dockerfile
@@ -1,13 +1,16 @@
-FROM amd64/debian:buster as builder
+FROM amd64/debian:trixie as builder
ARG VERSION
WORKDIR /root
RUN apt-get update && \
- apt-get install -y wget && \
- wget https://github.com/vector-im/element-web/releases/download/v${VERSION}/element-v${VERSION}.tar.gz && \
- tar xf element-v${VERSION}.tar.gz && \
- mv element-v${VERSION}/ riot/
+ apt-get install -y wget
+RUN wget https://github.com/element-hq/element-web/releases/download/${VERSION}/element-${VERSION}.tar.gz && \
+ tar xf element-${VERSION}.tar.gz && \
+ mv element-${VERSION}/ riot/
+
+# Le conteneur de superboum contient uniquement un serveur web de 5 lignes.
+# Ca vous ennuie ? On peut publier Riot dans un bucket web Garage, tkt, ça sera Tricot qui servira.
FROM superboum/amd64_webserver:v3
COPY --from=builder /root/riot /srv/http