From dfe8774616b1561d5b14817d44b519e34c130980 Mon Sep 17 00:00:00 2001 From: Alexander Todorov Date: Tue, 13 Feb 2018 11:18:17 +0200 Subject: [PATCH] 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. --- .dockerignore | 2 ++ Dockerfile.test | 6 ++---- 2 files changed, 4 insertions(+), 4 deletions(-) create mode 100644 .dockerignore 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