diff options
author | Russell Currey <ruscur@russell.cc> | 2019-05-01 14:35:53 +1000 |
---|---|---|
committer | Daniel Axtens <dja@axtens.net> | 2019-05-03 16:10:40 +1000 |
commit | c56683dd8a738de544eeba137bf4ca12a5523054 (patch) | |
tree | 1510354cdff87baf01a55522057fd726e8a24bbe /tools/docker/Dockerfile | |
parent | 1b363a7884ef7daadc313063a26ff3d32e38a5ce (diff) | |
download | patchwork-c56683dd8a738de544eeba137bf4ca12a5523054.tar patchwork-c56683dd8a738de544eeba137bf4ca12a5523054.tar.gz |
docker: Install libpq-dev to fix psycopg2-binary build
psycopg2-binary fails if pg_config isn't installed, which is provided by
libpq-dev.
This seems strange to me since psycopg2-binary suggests that
you use psycopg2-binary instead (of itself) if you don't want to build
psycopg2 so you wouldn't need pg_config, which is very confusing.
It's possible that psycopg2-binary only needs to compile itself on
non-x86 platforms, since I hit this on ppc64le.
Anyway, it works when this is added.
Signed-off-by: Russell Currey <ruscur@russell.cc>
Reviewed-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com>
Signed-off-by: Daniel Axtens <dja@axtens.net>
Diffstat (limited to 'tools/docker/Dockerfile')
-rw-r--r-- | tools/docker/Dockerfile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/docker/Dockerfile b/tools/docker/Dockerfile index b9ecdb5..eef40e4 100644 --- a/tools/docker/Dockerfile +++ b/tools/docker/Dockerfile @@ -26,7 +26,7 @@ RUN apt-get update -qq && \ python3.5-dev python3-pip python3-setuptools python3-wheel \ python3.4-dev findutils=4.4.2-7 python3.6-dev \ libmysqlclient-dev mysql-client curl unzip build-essential \ - git postgresql-client tzdata + git postgresql-client tzdata libpq-dev # User RUN useradd --uid=$UID --create-home patchwork |