2020-07-29 01:27:32 UTC
191 MB
/opt/openjdk-15
JAVA_VERSION15-ea+31
PATH/opt/openjdk-15/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:df20fa9351a15782c64e6dddb2d4a6f50bf6d3688060a34c4014b0d9a752eb4c - 1.4% (2.67 MB)
[#001] sha256:65a2e4aad8c98294e53534e7aef0572d7a04cc37264f1b4b75d0878244e59c7f - 0.46% (905 KB)
[#002] sha256:fc5eabcede3645338ce4f48b82a9c70a12f11b8d569a562c1ce54a7e670b0e98 - 98.14% (188 MB)
/bin/sh -c #(nop) ADD file:c92c248239f8c7b9b3c067650954815f391b7bcb09023f984972c082ace2a8d0 in /
2020-05-29 21:19:46 UTC/bin/sh -c #(nop) CMD ["/bin/sh"]
2020-07-22 01:05:44 UTC/bin/sh -c apk add --no-cache java-cacerts
2020-07-22 01:07:14 UTC/bin/sh -c #(nop) ENV JAVA_HOME=/opt/openjdk-15
2020-07-22 01:07:14 UTC/bin/sh -c #(nop) ENV PATH=/opt/openjdk-15/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2020-07-22 01:07:14 UTC/bin/sh -c #(nop) ENV JAVA_VERSION=15-ea+31
2020-07-29 01:27:32 UTC/bin/sh -c set -eux; arch="$(apk --print-arch)"; case "$arch" in x86_64) downloadUrl=https://download.java.net/java/early_access/alpine/31/binaries/openjdk-15-ea+31_linux-x64-musl_bin.tar.gz; downloadSha256=da7abd4d3b3511ed2da8aba25b7ff67863261a0c8b5e7e771cf0fbfadcc7f4fd; ;; *) echo >&2 "error: unsupported architecture: '$arch'"; exit 1 ;; esac; wget -O openjdk.tgz "$downloadUrl"; echo "$downloadSha256 *openjdk.tgz" | sha256sum -c -; mkdir -p "$JAVA_HOME"; tar --extract --file openjdk.tgz --directory "$JAVA_HOME" --strip-components 1 --no-same-owner ; rm openjdk.tgz; rm -rf "$JAVA_HOME/lib/security/cacerts"; ln -sT /etc/ssl/certs/java/cacerts "$JAVA_HOME/lib/security/cacerts"; java -Xshare:dump; javac --version; java --version
2020-07-29 01:27:32 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.