diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 00000000..8912549a --- /dev/null +++ b/.dockerignore @@ -0,0 +1,2 @@ +.git/ +.coverage diff --git a/Dockerfile.test b/Dockerfile.test index b380e602..6dc82f63 100644 --- a/Dockerfile.test +++ b/Dockerfile.test @@ -6,16 +6,14 @@ RUN yum -y install --nogpgcheck epel-release && \ yum -y install make libgit2-glib tito python-pylint \ python-nose python-mako python-flask \ python-coverage libselinux-python \ - pykickstart python2-pytoml \ + pykickstart python2-pytoml python-sphinx \ python2-mock python-semantic_version && \ yum clean all && \ rm -rf /var/cache/yum RUN mkdir /lorax -COPY Makefile /lorax -COPY src/ /lorax/src -COPY tests/ /lorax/tests +COPY . /lorax WORKDIR /lorax RUN make test