aboutsummaryrefslogtreecommitdiff
path: root/cluster/prod/app/matrix/build/riotweb/Dockerfile
diff options
context:
space:
mode:
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