title: The command '/bin/sh returned a non-zero code: 1
body: <p>When I try to install a bin file manually inside a ubuntu Docker container it works perfectly,</p>
  
  <pre><code>./MyBinfile.bin
  </code></pre>
  
  <p>but when I try it from my Dockerfile I always get the error :
  The command '/bin/sh -c chmod +x /tmp/snapcenter_linux_host_plugin.bin &amp;&amp; ./tmp/MyBinFile.bin' returned a non-zero code: 1</p>
  
  <p>My Dockerfile looks like :</p>
  
  <pre><code>    FROM debian:jessie
  
      RUN apt-get update &amp;&amp; apt-get install -y openjdk-7-jdk
      ENV JAVA_HOME /usr/lib/jvm/java-7-openjdk-amd64
      RUN echo $JAVA_HOME
  
      COPY MyBinFile.bin /tmp/MyBinFile.bin
      RUN chmod +x /tmp/MyBinFile.bin &amp;&amp; ./tmp/MyBinFile.bin
  </code></pre>
  
  <p>Can anyone help me in this case?</p>