summaryrefslogtreecommitdiffstats
path: root/tests/docker-centos-7/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'tests/docker-centos-7/Dockerfile')
-rw-r--r--tests/docker-centos-7/Dockerfile25
1 files changed, 25 insertions, 0 deletions
diff --git a/tests/docker-centos-7/Dockerfile b/tests/docker-centos-7/Dockerfile
new file mode 100644
index 0000000..fdf1814
--- /dev/null
+++ b/tests/docker-centos-7/Dockerfile
@@ -0,0 +1,25 @@
+FROM centos:7
+
+RUN yum -y install epel-release
+RUN yum -y install \
+ git \
+ python-yaml \
+ python-pip \
+ pytest \
+ python34-yaml \
+ python34-pytest \
+ python34-pip \
+ findutils
+
+COPY / /src
+RUN find /src -name \*.pyc -delete
+
+ENV PYTEST2 py.test
+ENV PYTEST3 py.test-3
+
+ENV PIP2 pip2
+ENV PIP3 pip3
+
+WORKDIR /src
+
+CMD ["./tests/docker-centos-7/run.sh"]