summaryrefslogtreecommitdiff
path: root/tools/docker/Dockerfile
diff options
context:
space:
mode:
authorDaniel Axtens <dja@axtens.net>2017-10-20 16:36:55 +1100
committerDaniel Axtens <dja@axtens.net>2017-10-28 12:39:17 +1100
commit8c5b29bc8a45d31b1ea8b48ff7eb2c0f1ebb1ec3 (patch)
treebbb20efba4cc00aa6df2e306eb06cbd8f8e79ff2 /tools/docker/Dockerfile
parentfa86224f538741f5a529f179cb8a63321f96d985 (diff)
downloadpatchwork-8c5b29bc8a45d31b1ea8b48ff7eb2c0f1ebb1ec3.tar
patchwork-8c5b29bc8a45d31b1ea8b48ff7eb2c0f1ebb1ec3.tar.gz
Support testing with PostgreSQL
This allows us to easily test against PostgreSQL using the same tooling we normally use. This is helpful in (for example) shaking out the test failures that were observed on ozlabs.org To use it: docker-compose -f docker-compose-pg.yml <usual argument> (You may find in necessary to do a 'docker-compose down' first, depending on what state the system is in and what command you're running.) Signed-off-by: Daniel Axtens <dja@axtens.net> Reviewed-by: Stephen Finucane <stephen@that.guru>
Diffstat (limited to 'tools/docker/Dockerfile')
-rw-r--r--tools/docker/Dockerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/docker/Dockerfile b/tools/docker/Dockerfile
index ff05707..946c646 100644
--- a/tools/docker/Dockerfile
+++ b/tools/docker/Dockerfile
@@ -21,7 +21,7 @@ RUN apt-get update -qq && \
python3.5-dev python3-pip python3-setuptools python3-wheel \
python3.4-dev findutils=4.4.2-7 \
libmysqlclient-dev mysql-client curl unzip xvfb chromium-chromedriver \
- chromium-browser build-essential git && \
+ chromium-browser build-essential git postgresql-client && \
ln -s /usr/lib/chromium-browser/chromedriver /usr/bin/
# User