diff --git a/bin/test-python-2.6 b/bin/test-python-2.6 new file mode 100755 index 0000000..c3da582 --- /dev/null +++ b/bin/test-python-2.6 @@ -0,0 +1,6 @@ +#!/bin/bash + +cd "$(dirname "${BASH_SOURCE[0]}")" +cd .. +exec ./containers/python-2.6/run bash -c \ + 'cd skyfield && ls && assay --batch skyfield/tests' diff --git a/containers/python-2.6/Dockerfile b/containers/python-2.6/Dockerfile index 7d2bc7b..69d05a3 100644 --- a/containers/python-2.6/Dockerfile +++ b/containers/python-2.6/Dockerfile @@ -2,8 +2,7 @@ FROM mrupgrade/deadsnakes:2.6 RUN apt update RUN apt install -y -y build-essential python2.6-dev RUN pip install numpy==1.11.3 -RUN pip install argparse mock pytz unittest2 +RUN pip install argparse certifi jplephem mock pytz sgp4 unittest2 RUN pip install https://github.com/brandon-rhodes/assay/archive/master.zip -RUN pip install skyfield -RUN echo 'assay --batch skyfield.tests' > /root/.bash_history +RUN echo 'PYTHONPATH=.. assay --batch skyfield.tests' > /root/.bash_history CMD cd skyfield/ci && /bin/bash