diff options
author | kaiyou <pierre@jaury.eu> | 2018-02-04 12:28:42 +0100 |
---|---|---|
committer | kaiyou <pierre@jaury.eu> | 2018-02-04 12:28:42 +0100 |
commit | 042757feb25ba9f0cccfdaa6c8775957880c2d2e (patch) | |
tree | 967ee143a81c597665a18371e92014b6e0141f5e /Dockerfile | |
parent | Support an external postgresql config in the Docker image (diff) | |
download | synapse-042757feb25ba9f0cccfdaa6c8775957880c2d2e.tar.xz |
Install the postgres dependencies
Diffstat (limited to '')
-rw-r--r-- | Dockerfile | 4 |
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/* / \ |