Dockerfile-pgtests 398 B

123456789101112
  1. # Use the Sytest image that comes with a lot of the build dependencies
  2. # pre-installed
  3. FROM matrixdotorg/sytest:latest
  4. # The Sytest image doesn't come with python, so install that
  5. RUN apt-get update && apt-get -qq install -y python3 python3-dev python3-pip
  6. # We need tox to run the tests in run_pg_tests.sh
  7. RUN python3 -m pip install tox
  8. ADD run_pg_tests.sh /pg_tests.sh
  9. ENTRYPOINT /pg_tests.sh