2017-10-09 23:12:42 UTC
294 MB
9~b181-4
JAVA_HOME/docker-java-home
JAVA_VERSION9-b181
LANGC.UTF-8
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:c73d8f8e11b2d23be25158f1c637fa52a156601fa88a99dae20e4e90c9f8094e - 14.35% (42.2 MB)
[#001] sha256:f095d6eb4fb7112eed5df1d4ec6df80dba73c8cf89cb23d2b882b20b26a990db - 2.46% (7.22 MB)
[#002] sha256:58bc97a5447d52b18ed72c0f57ee0282eabc3a90a66debb1556b65434b85175c - 2.86% (8.39 MB)
[#003] sha256:c2636a8169c3c67390fa8bdcb26557a8c48ccac495c940edc899b57350918cf6 - 0.27% (813 KB)
[#004] sha256:c1ff7588e673a640f851fe8f5b43dac3fa01c7bd4b4649a73c76a7cd4a8d2ace - 0.0% (248 Bytes)
[#005] sha256:cd3cde4a48f59d004d065421764406a6771f7149975ce32ba61cfbc4458b5ad0 - 0.0% (131 Bytes)
[#006] sha256:3acaa13084c9d9e2b777880c8553973724d60676af70e23cba8af38e83335781 - 80.07% (235 MB)
/bin/sh -c #(nop) ADD file:8310e9969f49ad8da22c8531636a505f796ae2e5ab255104280bbe27bd312eb2 in /
2017-10-09 21:44:15 UTC/bin/sh -c #(nop) CMD ["bash"]
2017-10-09 22:21:18 UTC/bin/sh -c apt-get update && apt-get install -y --no-install-recommends ca-certificates curl wget && rm -rf /var/lib/apt/lists/*
2017-10-09 22:21:26 UTC/bin/sh -c set -ex; if ! command -v gpg > /dev/null; then apt-get update; apt-get install -y --no-install-recommends gnupg2 dirmngr ; rm -rf /var/lib/apt/lists/*; fi
2017-10-09 23:11:32 UTC/bin/sh -c apt-get update && apt-get install -y --no-install-recommends bzip2 unzip xz-utils && rm -rf /var/lib/apt/lists/*
2017-10-09 23:11:32 UTC/bin/sh -c #(nop) ENV LANG=C.UTF-8
2017-10-09 23:11:33 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
2017-10-09 23:11:34 UTC/bin/sh -c ln -svT "/usr/lib/jvm/java-9-openjdk-$(dpkg --print-architecture)" /docker-java-home
2017-10-09 23:11:35 UTC/bin/sh -c #(nop) ENV JAVA_HOME=/docker-java-home
2017-10-09 23:11:35 UTC/bin/sh -c #(nop) ENV JAVA_VERSION=9-b181
2017-10-09 23:11:35 UTC/bin/sh -c #(nop) ENV JAVA_DEBIAN_VERSION=9~b181-4
2017-10-09 23:12:42 UTC/bin/sh -c set -ex; if [ ! -d /usr/share/man/man1 ]; then mkdir -p /usr/share/man/man1; fi; apt-get update; apt-get install -y openjdk-9-jre="$JAVA_DEBIAN_VERSION" ; rm -rf /var/lib/apt/lists/*; [ "$(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.