lorax/Dockerfile.test
Alexander Todorov dfe8774616 Update how we pass the source to docker so it includes docs/ dir
since the last commit the tests require to have the docs built
before hand but the docs/ dir was missing from the docker image.
2018-06-11 16:54:58 -07:00

20 lines
565 B
Docker

FROM centos:7
COPY epel.repo /etc/yum.repos.d/
RUN yum -y install --nogpgcheck epel-release && \
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-* && \
yum -y install make libgit2-glib tito python-pylint \
python-nose python-mako python-flask \
python-coverage libselinux-python \
pykickstart python2-pytoml python-sphinx \
python2-mock python-semantic_version && \
yum clean all && \
rm -rf /var/cache/yum
RUN mkdir /lorax
COPY . /lorax
WORKDIR /lorax
RUN make test