diff options
author | Matthew Hodgson <matthew@matrix.org> | 2018-11-03 12:58:57 +0000 |
---|---|---|
committer | Matthew Hodgson <matthew@matrix.org> | 2018-11-03 12:58:57 +0000 |
commit | 71a452a324e45c338c6d91e6b17b92712157367c (patch) | |
tree | 2f95a26c9c8ff024c855ed7a8ca674e833dddca8 /docker/Dockerfile-pgtests | |
parent | more comment (diff) | |
parent | fix tests (diff) | |
download | synapse-71a452a324e45c338c6d91e6b17b92712157367c.tar.xz |
Merge branch 'dinsic' into matthew/shadow-server
Diffstat (limited to 'docker/Dockerfile-pgtests')
-rw-r--r-- | docker/Dockerfile-pgtests | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/docker/Dockerfile-pgtests b/docker/Dockerfile-pgtests new file mode 100644 index 0000000000..7da8eeb9eb --- /dev/null +++ b/docker/Dockerfile-pgtests @@ -0,0 +1,12 @@ +# Use the Sytest image that comes with a lot of the build dependencies +# pre-installed +FROM matrixdotorg/sytest:latest + +# The Sytest image doesn't come with python, so install that +RUN apt-get -qq install -y python python-dev python-pip + +# We need tox to run the tests in run_pg_tests.sh +RUN pip install tox + +ADD run_pg_tests.sh /pg_tests.sh +ENTRYPOINT /pg_tests.sh |