title: How to install oracle jdk11 in Alpine linux docker image?
body: <p>My Dockerfile:</p>
  
  <pre><code>FROM frolvlad/alpine-glibc:latest
  
  ADD jdk-11.0.6_linux-x64_bin.tar.gz /usr/java
  
  ENV JAVA_HOME=/usr/java/jdk-11.0.6
  ENV PATH=$JAVA_HOME/bin:$PATH
  </code></pre>
  
  <p>When I run the command <code>java -version</code> in the container, I get this segfault:
  <a href="https://i.stack.imgur.com/ogUw7.png" rel="noreferrer"><img src="https://i.stack.imgur.com/ogUw7.png" alt="enter image description here"></a></p>
  
  <p>How can I solve this problem?</p>