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.
This commit is contained in:
Alexander Todorov 2018-02-13 11:18:17 +02:00 committed by Brian C. Lane
parent d3d92d13b1
commit dfe8774616
2 changed files with 4 additions and 4 deletions

2
.dockerignore Normal file
View File

@ -0,0 +1,2 @@
.git/
.coverage

View File

@ -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