summary refs log tree commit diff
path: root/docker/Dockerfile-pgtests
diff options
context:
space:
mode:
authorAmber Brown <hawkowl@atleastfornow.net>2019-06-18 00:59:00 +1000
committerGitHub <noreply@github.com>2019-06-18 00:59:00 +1000
commiteba7caf09fe9bb5f5a0d4b17c5dde1413343cadc (patch)
treec1c6772ccd74da04a5e68d76340f5ab938fffe3b /docker/Dockerfile-pgtests
parentMerge pull request #5385 from matrix-org/erikj/reduce_http_exceptions (diff)
downloadsynapse-eba7caf09fe9bb5f5a0d4b17c5dde1413343cadc.tar.xz
Remove Postgres 9.4 support (#5448)
Diffstat (limited to 'docker/Dockerfile-pgtests')
-rw-r--r--docker/Dockerfile-pgtests4
1 files changed, 2 insertions, 2 deletions
diff --git a/docker/Dockerfile-pgtests b/docker/Dockerfile-pgtests
index 7da8eeb9eb..3bfee845c6 100644
--- a/docker/Dockerfile-pgtests
+++ b/docker/Dockerfile-pgtests
@@ -3,10 +3,10 @@
 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
+RUN apt-get update && apt-get -qq install -y python3 python3-dev python3-pip
 
 # We need tox to run the tests in run_pg_tests.sh
-RUN pip install tox
+RUN python3 -m pip install tox
 
 ADD run_pg_tests.sh /pg_tests.sh
 ENTRYPOINT /pg_tests.sh