docker: delete docker directory from /opt/layerindex

There's no reason for this directory to be present in the source tree.
(The rest of the docker files are already excluded via .dockerignore,
but files in docker/ need to be picked up by COPY directives so we can't
do that for these as well.)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
This commit is contained in:
Paul Eggleton 2019-05-29 14:50:43 +12:00
parent 170259df39
commit 1756579024

View File

@ -53,6 +53,7 @@ RUN apt-get update \
&& apt-get clean
COPY . /opt/layerindex
RUN rm -rf /opt/layerindex/docker
COPY docker/settings.py /opt/layerindex/settings.py
COPY docker/refreshlayers.sh /opt/refreshlayers.sh
COPY docker/updatelayers.sh /opt/updatelayers.sh