summary refs log tree commit diff
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2019-05-03 18:30:35 +0100
committerRichard van der Hoff <richard@matrix.org>2019-05-03 18:34:34 +0100
commitecc09673156c340e390c9c8a19af80133622fd4f (patch)
tree246c6726c610bf7c271d673246cb4bb9c1aa6232
parentpin urllib3 to <1.25 (diff)
downloadsynapse-ecc09673156c340e390c9c8a19af80133622fd4f.tar.xz
Debian: we now need libpq-dev.
psycopg 2.8 is now out, which means that the C library gets built from source,
so we now need libpq-dev when building.

Turns out the need for this package is already documented in
docs/postgres.rst.
-rw-r--r--docker/Dockerfile-dhvirtualenv3
1 files changed, 2 insertions, 1 deletions
diff --git a/docker/Dockerfile-dhvirtualenv b/docker/Dockerfile-dhvirtualenv
index 224c92352d..3de032cf8c 100644
--- a/docker/Dockerfile-dhvirtualenv
+++ b/docker/Dockerfile-dhvirtualenv
@@ -55,7 +55,8 @@ RUN apt-get update -qq -o Acquire::Languages=none \
         python3-pip \
         python3-setuptools \
         python3-venv \
-        sqlite3
+        sqlite3 \
+        libpq-dev
 
 COPY --from=builder /dh-virtualenv_1.1-1_all.deb /