Codebase list matrix-synapse / 814f6664-d2f0-419f-8de0-f5b1df25aa42/main docker / Dockerfile-pgtests
814f6664-d2f0-419f-8de0-f5b1df25aa42/main

Tree @814f6664-d2f0-419f-8de0-f5b1df25aa42/main (Download .tar.gz)

Dockerfile-pgtests @814f6664-d2f0-419f-8de0-f5b1df25aa42/mainraw · history · blame

# 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 update && apt-get -qq install -y python3 python3-dev python3-pip

# We need tox to run the tests in run_pg_tests.sh
RUN python3 -m pip install tox

ADD run_pg_tests.sh /pg_tests.sh
ENTRYPOINT /pg_tests.sh