mirror of
https://github.com/element-hq/synapse
synced 2024-08-31 07:00:21 +00:00
13 lines
366 B
Text
13 lines
366 B
Text
|
# 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
|