2018-10-09 22:23:10 UTC
189 MB
/opt/openjdk-12
JAVA_SHA256172c7d7c6859253822e03f0839f83627ffe06055f118423c6ef619a1af836b4c
JAVA_URLhttps://download.java.net/java/early_access/alpine/14/binaries/openjdk-12-ea+14_linux-x64-musl_bin.tar.gz
JAVA_VERSION12-ea+14
PATH/opt/openjdk-12/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:4fe2ade4980c2dda4fc95858ebb981489baec8c1e4bd282ab1c3560be8ff9bde - 1.11% (2.1 MB)
[#001] sha256:d2e5f2e0fe39aa02c5b89c1b82cbf447b2799dfeb96ae4c4f3297bb1769d19b8 - 98.89% (187 MB)
/bin/sh -c #(nop) ADD file:25c10b1d1b41d46a1827ad0b0d2389c24df6d31430005ff4e9a2d84ea23ebd42 in /
2018-09-11 22:19:50 UTC/bin/sh -c #(nop) CMD ["/bin/sh"]
2018-10-02 17:36:08 UTC/bin/sh -c #(nop) ENV JAVA_HOME=/opt/openjdk-12
2018-10-02 17:36:08 UTC/bin/sh -c #(nop) ENV PATH=/opt/openjdk-12/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2018-10-09 22:21:39 UTC/bin/sh -c #(nop) ENV JAVA_VERSION=12-ea+14
2018-10-09 22:21:39 UTC/bin/sh -c #(nop) ENV JAVA_URL=https://download.java.net/java/early_access/alpine/14/binaries/openjdk-12-ea+14_linux-x64-musl_bin.tar.gz
2018-10-09 22:21:40 UTC/bin/sh -c #(nop) ENV JAVA_SHA256=172c7d7c6859253822e03f0839f83627ffe06055f118423c6ef619a1af836b4c
2018-10-09 22:23:04 UTC/bin/sh -c set -eux; wget -O /openjdk.tgz "$JAVA_URL"; echo "$JAVA_SHA256 */openjdk.tgz" | sha256sum -c -; mkdir -p "$JAVA_HOME"; tar --extract --file /openjdk.tgz --directory "$JAVA_HOME" --strip-components 1; rm /openjdk.tgz; java -Xshare:dump; java --version; javac --version
2018-10-09 22:23:10 UTC/bin/sh -c #(nop) CMD ["jshell"]
Please be careful as this will not just delete the reference but also the actual content!
For example when you have latest and v1.2.3 both pointing to the same image
the deletion of latest will also permanently remove v1.2.3.