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:
parent
d3d92d13b1
commit
dfe8774616
2
.dockerignore
Normal file
2
.dockerignore
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
.git/
|
||||||
|
.coverage
|
@ -6,16 +6,14 @@ RUN yum -y install --nogpgcheck epel-release && \
|
|||||||
yum -y install make libgit2-glib tito python-pylint \
|
yum -y install make libgit2-glib tito python-pylint \
|
||||||
python-nose python-mako python-flask \
|
python-nose python-mako python-flask \
|
||||||
python-coverage libselinux-python \
|
python-coverage libselinux-python \
|
||||||
pykickstart python2-pytoml \
|
pykickstart python2-pytoml python-sphinx \
|
||||||
python2-mock python-semantic_version && \
|
python2-mock python-semantic_version && \
|
||||||
yum clean all && \
|
yum clean all && \
|
||||||
rm -rf /var/cache/yum
|
rm -rf /var/cache/yum
|
||||||
|
|
||||||
|
|
||||||
RUN mkdir /lorax
|
RUN mkdir /lorax
|
||||||
COPY Makefile /lorax
|
COPY . /lorax
|
||||||
COPY src/ /lorax/src
|
|
||||||
COPY tests/ /lorax/tests
|
|
||||||
|
|
||||||
WORKDIR /lorax
|
WORKDIR /lorax
|
||||||
RUN make test
|
RUN make test
|
||||||
|
Loading…
Reference in New Issue
Block a user