title: Dockerfile failed doing a simple mv command
body: <p>When building a Jenkins image, the dockerfile failed doing a simple mv command for moving a docker directory to /usr/bin</p>
  
  <pre><code>Building jenkins
  Step 1/22 : FROM jenkins:2.19.4
  ---&gt; f61635651954
  Step 2/22 : USER root
  ---&gt; Using cache
  ---&gt; 38328c4c60df
   Step 3/22 : RUN apt-get update       &amp;&amp; apt-get install -y sudo curl          &amp;&amp; rm -rf /var/lib/apt/lists/*
  ---&gt; Using cache
  ---&gt; be88e3447a62
  Step 4/22 : RUN echo "jenkins ALL=NOPASSWD: ALL" &gt;&gt; /etc/sudoers
  ---&gt; Using cache
  ---&gt; dc14742b9a92
  Step 5/22 : RUN curl -sSL -O https://get.docker.com/builds/Linux/x86_64  /docker-latest.tgz &amp;&amp; tar -xvzf docker-latest.tgz
   ---&gt; Using cache
   ---&gt; d96e275bfa56
   Step 6/22 : RUN mv docker/* /usr/bin/
   ---&gt; Running in 05e1bd80331e
   mv: cannot remove ‘docker/completion/bash/docker’: No such file or directory
   mv: cannot remove ‘docker/completion/fish/docker.fish’: No such file or directory
   mv: cannot remove ‘docker/completion/zsh/_docker’: No such file or     directory
   ERROR: Service 'jenkins' failed to build: The command '/bin/sh -c mv docker/* /usr/bin/' returned a non-zero code: 1
  
  
   $ docker --version
   Docker version 17.11.0-ce, build 1caf76c
  </code></pre>
  
  <p>VM is on centos 7</p>