2018-12-21 00:40:21 UTC
189 MB
/opt/openjdk-12
JAVA_SHA256125162b84369be592f8355624075f579795343a835706f0cbde065882d9404a1
JAVA_URLhttps://download.java.net/java/early_access/alpine/20/binaries/openjdk-12-ea+20_linux-x64-musl_bin.tar.gz
JAVA_VERSION12-ea+20
PATH/opt/openjdk-12/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:cd784148e3483c2c86c50a48e535302ab0288bebd587accf40b714fffd0646b3 - 1.11% (2.1 MB)
[#001] sha256:8d2866971ec1d3c2ad2b80c2ba1b575f9dce5b6eb5329009962a2414a4cc02b2 - 98.89% (187 MB)
/bin/sh -c #(nop) ADD file:2ff00caea4e83dfade726ca47e3c795a1e9acb8ac24e392785c474ecf9a621f2 in /
2018-12-21 00:21:30 UTC/bin/sh -c #(nop) CMD ["/bin/sh"]
2018-12-21 00:39:33 UTC/bin/sh -c #(nop) ENV JAVA_HOME=/opt/openjdk-12
2018-12-21 00:39:33 UTC/bin/sh -c #(nop) ENV PATH=/opt/openjdk-12/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2018-12-21 00:39:33 UTC/bin/sh -c #(nop) ENV JAVA_VERSION=12-ea+20
2018-12-21 00:39:33 UTC/bin/sh -c #(nop) ENV JAVA_URL=https://download.java.net/java/early_access/alpine/20/binaries/openjdk-12-ea+20_linux-x64-musl_bin.tar.gz
2018-12-21 00:39:33 UTC/bin/sh -c #(nop) ENV JAVA_SHA256=125162b84369be592f8355624075f579795343a835706f0cbde065882d9404a1
2018-12-21 00:40:21 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-12-21 00:40:21 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.