title: Docker container prints "no such file or directory"
body: <p>I am fairly new to docker and I am completely stumped on how to fix my problem. I have searched and searched and nothing I've found has fixed my problem so far.</p>
  
  <p>No matter what I do, I cant seem to get my bash script to be found and executed.</p>
  
  <p>FYI - I'm using dockerfile-maven-plugin to kick-off the docker build process</p>
  
  <p>Here is my dockerfile:</p>
  
  <pre><code>FROM openjdk:8-jre
  
  WORKDIR /  ## I've also tried other directories, besides root
  
  ARG JAR_FILE    ## variable inject via dockerfile-maven-plugin
  ADD ${JAR_FILE} /motus-exec.jar
  
  ADD run_motus.sh /
  RUN ["chmod", "+x", "/run_motus.sh"]
  ENTRYPOINT ["/run_motus.sh"]
  </code></pre>
  
  <p>Here is my script</p>
  
  <pre><code>#!/bin/sh
  /usr/bin/java -jar /motus-exec.jar
  </code></pre>
  
  <p>Output from building docker image</p>
  
  <pre><code>[INFO] Step 1 : FROM openjdk:8-jre
  [INFO] Trying to pull repository docker.io/library/openjdk ... 
  [INFO] Pulling from docker.io/library/openjdk
  [INFO] Digest: sha256:2216ccda45993afaa42b3b269aa1ae8832cb2fabbf8207f63d528fdc7c8a087b
  [INFO] Status: Image is up to date for docker.io/openjdk:8-jre
  [INFO]  ---&gt; ed287c436e66
  [INFO] Step 2 : WORKDIR /
  [INFO]  ---&gt; Running in 779de913ad3b
  [INFO]  ---&gt; 7ba637ea0ee8
  [INFO] Removing intermediate container 779de913ad3b
  [INFO] Step 3 : ARG JAR_FILE
  [INFO]  ---&gt; Running in 99c86f5273f0
  [INFO]  ---&gt; 8b0e9f39c1ab
  [INFO] Removing intermediate container 99c86f5273f0
  [INFO] Step 4 : ADD ${JAR_FILE} /motus-exec.jar
  [INFO]  ---&gt; 4bd2c163c7c3
  [INFO] Removing intermediate container 9a9098d6e51a
  [INFO] Step 5 : ADD run_motus.sh /
  [INFO]  ---&gt; 115cc9b09439
  [INFO] Removing intermediate container 51e610f15427
  [INFO] Step 6 : RUN chmod +x /run_motus.sh
  [INFO]  ---&gt; Running in 62dabd8b432e
  [INFO]  ---&gt; 8db646df2936
  [INFO] Removing intermediate container 62dabd8b432e
  [INFO] Step 7 : ENTRYPOINT /run_motus.sh
  [INFO]  ---&gt; Running in 330c5442d61a
  [INFO]  ---&gt; 0d9c0f6f5a34
  [INFO] Removing intermediate container 330c5442d61a
  [INFO] Successfully built 0d9c0f6f5a34
  </code></pre>
  
  <p>Output when I run image</p>
  
  <pre><code>&gt;&gt; docker run tl/motus-sol:0.2.2-SNAPSHOT
  no such file or directory
  docker: Error response from daemon: Container command not found or does not exist..
  </code></pre>
  
  <p>Thanks in advance for any assistance.</p>