summary refs log tree commit diff
diff options
context:
space:
mode:
authorkaiyou <pierre@jaury.eu>2018-02-04 12:28:42 +0100
committerkaiyou <pierre@jaury.eu>2018-02-04 12:28:42 +0100
commit042757feb25ba9f0cccfdaa6c8775957880c2d2e (patch)
tree967ee143a81c597665a18371e92014b6e0141f5e
parentSupport an external postgresql config in the Docker image (diff)
downloadsynapse-042757feb25ba9f0cccfdaa6c8775957880c2d2e.tar.xz
Install the postgres dependencies
Diffstat (limited to '')
-rw-r--r--Dockerfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile
index 277246b697..881c25c243 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,12 +1,12 @@
 FROM python:2-alpine
 
-RUN apk add --no-cache --virtual .nacl_deps build-base libffi-dev zlib-dev openssl-dev libjpeg-turbo-dev linux-headers
+RUN apk add --no-cache --virtual .nacl_deps build-base libffi-dev zlib-dev openssl-dev libjpeg-turbo-dev linux-headers postgresql-dev
 
 COPY . /synapse
 
 # A wheel cache may be provided in ./cache for faster build
 RUN cd /synapse \
- && pip install --upgrade pip setuptools \
+ && pip install --upgrade pip setuptools psycopg2 \
  && mkdir -p /synapse/cache \
  && pip install -f /synapse/cache --upgrade --process-dependency-links . \
  && mv /synapse/contrib/docker/* / \