aboutsummaryrefslogtreecommitdiff
path: root/cluster/prod/app/matrix/build/riotweb/Dockerfile
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/riotweb/Dockerfile
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/riotweb/Dockerfile')
-rw-r--r--cluster/prod/app/matrix/build/riotweb/Dockerfile13
1 files changed, 8 insertions, 5 deletions
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