2019-03-27 19:27:24 UTC
257 MB
11.0.2+9-3~bpo9+1
JAVA_HOME/docker-java-home
JAVA_VERSION11.0.2
LANGC.UTF-8
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:007027d142c80b166a004bc7265c04036b80df438ac408f1a947e05c581b418e - 7.54% (19.4 MB)
[#001] sha256:a6b2a3db5fe5bcef92897d12d82e7bf4b1c81832ef030a3036b2cf488ad45373 - 0.16% (431 KB)
[#002] sha256:c3107a939efc2ffecd268a5637e3705163c31eab4af1855d8a47e1f21b3abc8c - 0.0% (224 Bytes)
[#003] sha256:20ad91712d904c5cc444aaf6ea61774d3b75110c9b2a7b0a320f1c79259189cf - 0.0% (247 Bytes)
[#004] sha256:bebe9595e756b55d5fb73915326e01dacd5ece818fe47b430ec90407e006244b - 0.0% (130 Bytes)
[#005] sha256:3d2bbb7053cebc700049a8d4b9e031e3b2687e0a7320e4ca0e11264e88c12b31 - 92.29% (237 MB)
/bin/sh -c #(nop) ADD file:9db7760cb1c28ef0cd3fa9ee9d0f528d2bcfe80b1c3973daa9f87e30b2047102 in /
2019-03-27 08:47:47 UTC/bin/sh -c #(nop) CMD ["bash"]
2019-03-27 19:25:13 UTC/bin/sh -c apt-get update && apt-get install -y --no-install-recommends bzip2 unzip xz-utils && rm -rf /var/lib/apt/lists/*
2019-03-27 19:25:16 UTC/bin/sh -c echo 'deb http://deb.debian.org/debian stretch-backports main' > /etc/apt/sources.list.d/stretch-backports.list
2019-03-27 19:25:17 UTC/bin/sh -c #(nop) ENV LANG=C.UTF-8
2019-03-27 19:25:20 UTC/bin/sh -c { echo '#!/bin/sh'; echo 'set -e'; echo; echo 'dirname "$(dirname "$(readlink -f "$(which javac || which java)")")"'; } > /usr/local/bin/docker-java-home && chmod +x /usr/local/bin/docker-java-home
2019-03-27 19:25:22 UTC/bin/sh -c ln -svT "/usr/lib/jvm/java-11-openjdk-$(dpkg --print-architecture)" /docker-java-home
2019-03-27 19:25:23 UTC/bin/sh -c #(nop) ENV JAVA_HOME=/docker-java-home
2019-03-27 19:25:24 UTC/bin/sh -c #(nop) ENV JAVA_VERSION=11.0.2
2019-03-27 19:25:25 UTC/bin/sh -c #(nop) ENV JAVA_DEBIAN_VERSION=11.0.2+9-3~bpo9+1
2019-03-27 19:27:23 UTC/bin/sh -c set -ex; if [ ! -d /usr/share/man/man1 ]; then mkdir -p /usr/share/man/man1; fi; ln -svT /docker-java-home/bin/java /usr/local/bin/java; apt-get update; apt-get install -y --no-install-recommends openjdk-11-jdk-headless="$JAVA_DEBIAN_VERSION" ; rm -rf /var/lib/apt/lists/*; rm -v /usr/local/bin/java; keytool -importkeystore -srckeystore /etc/ssl/certs/java/cacerts -destkeystore /etc/ssl/certs/java/cacerts.jks -deststoretype JKS -srcstorepass changeit -deststorepass changeit -noprompt; mv /etc/ssl/certs/java/cacerts.jks /etc/ssl/certs/java/cacerts; /var/lib/dpkg/info/ca-certificates-java.postinst configure; [ "$(readlink -f "$JAVA_HOME")" = "$(docker-java-home)" ]; update-alternatives --get-selections | awk -v home="$(readlink -f "$JAVA_HOME")" 'index($3, home) == 1 { $2 = "manual"; print | "update-alternatives --set-selections" }'; update-alternatives --query java | grep -q 'Status: manual'
2019-03-27 19:27:24 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.