summaryrefslogtreecommitdiffstats
path: root/tests/docker-centos-7/Dockerfile
blob: fdf18148bbcb600e40106b83f03c1d624966eb3a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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"]