2018-09-20 02:12:45 -06:00
|
|
|
# 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
|
2019-06-17 08:59:00 -06:00
|
|
|
RUN apt-get update && apt-get -qq install -y python3 python3-dev python3-pip
|
2018-09-20 02:12:45 -06:00
|
|
|
|
|
|
|
# We need tox to run the tests in run_pg_tests.sh
|
2019-06-17 08:59:00 -06:00
|
|
|
RUN python3 -m pip install tox
|
2018-09-20 02:12:45 -06:00
|
|
|
|
|
|
|
ADD run_pg_tests.sh /pg_tests.sh
|
|
|
|
ENTRYPOINT /pg_tests.sh
|