aboutsummaryrefslogtreecommitdiff
path: root/cluster/prod/app/matrix/build/matrix-synapse
diff options
context:
space:
mode:
authorADRN <adrien@luxeylab.net>2024-09-26 19:37:02 +0200
committerADRN <adrien@luxeylab.net>2024-09-26 19:37:02 +0200
commitaac2019d2757b30d2f318d9a8f98b4e77ba42076 (patch)
treee855b95eef6e348a0d36b7d96162f4035f1a952c /cluster/prod/app/matrix/build/matrix-synapse
parentfabf31a7205163aa55e001b58e7cc08c7c3eeb52 (diff)
downloadnixcfg-aac2019d2757b30d2f318d9a8f98b4e77ba42076.tar.gz
nixcfg-aac2019d2757b30d2f318d9a8f98b4e77ba42076.zip
modif de Synapse parce que ça buguait + update Matrix syncv3 to v0.99.16
Diffstat (limited to 'cluster/prod/app/matrix/build/matrix-synapse')
-rw-r--r--cluster/prod/app/matrix/build/matrix-synapse/Dockerfile9
1 files changed, 6 insertions, 3 deletions
diff --git a/cluster/prod/app/matrix/build/matrix-synapse/Dockerfile b/cluster/prod/app/matrix/build/matrix-synapse/Dockerfile
index 5a6f709..aa0c165 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:trixie as builder
+FROM amd64/debian:trixie AS builder
ARG VERSION
ARG S3_VERSION
@@ -31,13 +31,16 @@ RUN virtualenv /root/matrix-env -p /usr/bin/python3 && \
pip3 install \
git+https://github.com/matrix-org/synapse-s3-storage-provider.git@${S3_VERSION}
-FROM amd64/debian:bookworm
+# WARNING: trixie n'est pas une LTS
+# mais on est obligé d'avoir la même version que le builder
+# et le builder veut une version de rustc qui n'est pas dans bookworm (dernière LTS at the time of writing)
+FROM amd64/debian:trixie
RUN apt-get update && \
apt-get -qq -y full-upgrade && \
apt-get install -y \
python3 \
- python3-distutils \
+ python3-setuptools \
libffi8 \
libjpeg62-turbo \
libssl3 \