2019-03-27 19:33:30 UTC
171 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:5385e634d2a1a330aea59f510b0676b269167a579dddb586b27917d80d0dfd01 - 24.0% (41.1 MB)
[#001] sha256:6696bae2f570e0c96dcb21308e525216796d3452d1a9b8dcaba168ba37f3f464 - 5.42% (9.28 MB)
[#002] sha256:6dca82770cb3702e9c92d2f155923c0fb55671c1c373b8b50640b7bf05ed8418 - 2.28% (3.9 MB)
[#003] sha256:86f9a2434e166bc5bb8f8a3bf11f42053e0ab7483f5ba117a8d95cda3949a304 - 0.47% (820 KB)
[#004] sha256:6483a9937fa825a7bb245dc3741925b11a6bef443d5f8b2b63e229252090722f - 0.0% (226 Bytes)
[#005] sha256:e162053f2eb57a20de87f7152b940862258953007a71c3a346149b57f8f347b5 - 0.0% (246 Bytes)
[#006] sha256:ef5cc4a4cd0627b29403dfb1df25597c397ed7deb96f9d4669ddf0b98db2dc3c - 0.0% (131 Bytes)
[#007] sha256:9098ab40a210837496003258e64c45939d27f5208689049184a2890b3732e8ec - 67.84% (116 MB)
/bin/sh -c #(nop) ADD file:8f991b13b28ce1de362b9f00e69aac8edc28124a08adeeb3b7fb02153e0b4e92 in /
2019-03-27 08:47:21 UTC/bin/sh -c #(nop) CMD ["bash"]
2019-03-27 10:15:55 UTC/bin/sh -c apt-get update && apt-get install -y --no-install-recommends ca-certificates curl netbase wget && rm -rf /var/lib/apt/lists/*
2019-03-27 10:16:13 UTC/bin/sh -c set -ex; if ! command -v gpg > /dev/null; then apt-get update; apt-get install -y --no-install-recommends gnupg dirmngr ; rm -rf /var/lib/apt/lists/*; fi
2019-03-27 19:27:52 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:27:55 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:27:56 UTC/bin/sh -c #(nop) ENV LANG=C.UTF-8
2019-03-27 19:27:58 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:28:01 UTC/bin/sh -c ln -svT "/usr/lib/jvm/java-11-openjdk-$(dpkg --print-architecture)" /docker-java-home
2019-03-27 19:28:02 UTC/bin/sh -c #(nop) ENV JAVA_HOME=/docker-java-home
2019-03-27 19:28:02 UTC/bin/sh -c #(nop) ENV JAVA_VERSION=11.0.2
2019-03-27 19:28:03 UTC/bin/sh -c #(nop) ENV JAVA_DEBIAN_VERSION=11.0.2+9-3~bpo9+1
2019-03-27 19:33:30 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-jre="$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'
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.