aboutsummaryrefslogtreecommitdiff
path: root/cluster/prod/app/matrix/build/matrix-synapse/Dockerfile
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2022-10-28 09:45:00 +0200
committerQuentin Dufour <quentin@deuxfleurs.fr>2022-10-28 09:45:00 +0200
commit40d5665ffe16841dd448c5a93c7dfe84cc21d8ca (patch)
tree1cf6ac5da016c588f3cb97e0d4be17ccd8f48a19 /cluster/prod/app/matrix/build/matrix-synapse/Dockerfile
parent859813440c23982c75fd1f27f3469aa9e9794368 (diff)
downloadnixcfg-40d5665ffe16841dd448c5a93c7dfe84cc21d8ca.tar.gz
nixcfg-40d5665ffe16841dd448c5a93c7dfe84cc21d8ca.zip
Upgrade Matrix but disable URL preview
Diffstat (limited to 'cluster/prod/app/matrix/build/matrix-synapse/Dockerfile')
-rw-r--r--cluster/prod/app/matrix/build/matrix-synapse/Dockerfile10
1 files changed, 6 insertions, 4 deletions
diff --git a/cluster/prod/app/matrix/build/matrix-synapse/Dockerfile b/cluster/prod/app/matrix/build/matrix-synapse/Dockerfile
index d410779..2ab0b98 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:buster as builder
+FROM amd64/debian:bookworm as builder
ARG VERSION
ARG S3_VERSION
@@ -16,6 +16,8 @@ RUN apt-get update && \
libjpeg62-turbo-dev \
libxml2-dev \
zlib1g-dev \
+ rustc \
+ cargo \
# postgresql-dev \
libpq-dev \
virtualenv \
@@ -28,16 +30,16 @@ RUN apt-get update && \
pip3 install \
git+https://github.com/matrix-org/synapse-s3-storage-provider.git@${S3_VERSION}
-FROM amd64/debian:buster
+FROM amd64/debian:bookworm
RUN apt-get update && \
apt-get -qq -y full-upgrade && \
apt-get install -y \
python3 \
python3-distutils \
- libffi6 \
+ libffi8 \
libjpeg62-turbo \
- libssl1.1 \
+ libssl3 \
libxslt1.1 \
libpq5 \
zlib1g \