From c47f1f819cd81efa3c7f9bc64cda30d337730210 Mon Sep 17 00:00:00 2001 From: RHE Date: Fri, 1 Dec 2017 16:42:57 +0100 Subject: create moon python unit test docker image Change-Id: I91c7103ca046a67c3cefadbd9ca6eca52cfbc0cf Signed-off-by: RHE --- moonv4/templates/python_unit_test/Dockerfile | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 moonv4/templates/python_unit_test/Dockerfile (limited to 'moonv4/templates/python_unit_test/Dockerfile') diff --git a/moonv4/templates/python_unit_test/Dockerfile b/moonv4/templates/python_unit_test/Dockerfile new file mode 100644 index 00000000..b8fb5151 --- /dev/null +++ b/moonv4/templates/python_unit_test/Dockerfile @@ -0,0 +1,8 @@ +FROM python:3 + +RUN pip install pytest requests_mock requests --upgrade +ADD requirements.txt /root +RUN pip install -r /root/requirements.txt --upgrade + +ADD run_tests.sh /root +CMD ["sh", "/root/run_tests.sh"] \ No newline at end of file -- cgit 1.2.3-korg