javaalpine-linuxopenjdk-17

OpenJDK 17 Alpine Image


I am looking for an openjdk 17 docker image based on alpine. It looks like we have got one here

https://hub.docker.com/layers/openjdk/library/openjdk/17-alpine/images/sha256-a996cdcc040704ec6badaf5fecf1e144c096e00231a29188596c784bcf858d05?context=explore

But the below repository shows its not ready for GA. So I wonder from where do the above docker image gets the source file.

http://jdk.java.net/17/


Solution

  • The 7th image layer in that Docker container contains the command used to download the JDK, including:

    downloadUrl='https://download.java.net/java/early_access/alpine/14/binaries/openjdk-17-ea+14_linux-x64-musl_bin.tar.gz'
    downloadSha256='f07a1ac921333dafac1cd886ad49600ce143be7efebd32e1a02599a8a0829dd4'
    

    So it uses an early access build.