title: Java command not working in docker container
body: <p>I am trying to run java with docker image in gitlab.</p>
  
  <p>Here is my docker file.</p>
  
  <pre><code>  FROM java:latest
    FROM perl
    COPY . /
    ENTRYPOINT ["/usr/bin/perl", "/myapp_entrypoint.pl"]
  </code></pre>
  
  <p>I was able to build docker image successfully and run perl commands but java commands are not working.</p>
  
  <p>My application is a linux application and I am running <code>'java -version'</code>. I am not getting any output completely blank output for version command.</p>
  
  <p>What would be the issue? Do I need to add anything related linux as I am running <code>'java -version'</code> as linux command?</p>