mirror of
https://github.com/cmehay/pyentrypoint
synced 2024-10-30 15:21:11 +00:00
16 lines
236 B
Docker
16 lines
236 B
Docker
# Testing with python 2
|
|
|
|
FROM python:2
|
|
|
|
RUN pip install pytest six pyyaml jinja2 colorlog
|
|
|
|
ENV PYTHONPATH /opt/
|
|
|
|
ADD tests/test_template.yml.tpl /tmp/test_template.yml
|
|
|
|
WORKDIR /opt/tests
|
|
|
|
ENV SECRET nothing
|
|
|
|
CMD ["py.test", "-s", "."]
|