summary refs log tree commit diff
path: root/docker
diff options
context:
space:
mode:
authorAndrew Morgan <1342360+anoadragon453@users.noreply.github.com>2020-11-17 16:01:33 +0000
committerGitHub <noreply@github.com>2020-11-17 16:01:33 +0000
commitc087f680531b2c40a4dc731da64b351a133c27fe (patch)
treed283e8ca8c3bfbbb8d5cb5cbe12730f2e8f4adf8 /docker
parentFix changelog (diff)
downloadsynapse-c087f680531b2c40a4dc731da64b351a133c27fe.tar.xz
Cap the version of prometheus_client to <v0.9.0 in the dockerfile (#8767)
Short-term fix for https://github.com/matrix-org/synapse/issues/8766.
Diffstat (limited to 'docker')
-rw-r--r--docker/Dockerfile3
1 files changed, 2 insertions, 1 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 9791d3ddf0..791cd6936b 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -36,7 +36,8 @@ RUN pip install --prefix="/install" --no-warn-script-location \
         frozendict \
         jaeger-client \
         opentracing \
-        prometheus-client \
+        # Match the version constraints of Synapse
+        "prometheus_client>=0.4.0,<0.9.0" \
         psycopg2 \
         pycparser \
         pyrsistent \