2
0
mirror of https://github.com/cmehay/pyentrypoint synced 2024-10-30 15:21:11 +00:00
pyentrypoint/Dockerfile.py2
2016-02-23 01:44:04 +01:00

17 lines
275 B
Docker

# Testing with python 2
FROM python:2
RUN pip install pytest twiggy six pyyaml jinja2
ENV PYTHONPATH /opt/pyentrypoint/
ADD pyentrypoint /opt/pyentrypoint/
ADD tests /opt/
ADD tests/test_template.yml.tpl /tmp/test_template.yml
WORKDIR /opt/
CMD ["py.test", "-s", "."]