2017-07-27 01:43:50 UTC
185 MB
9~b179-2
JAVA_HOME/docker-java-home
JAVA_VERSION9-b179
LANGC.UTF-8
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:30bcf7171e696bc59898b2067160c61b93616653ada7a607e11fbada605b61ba - 23.21% (42.9 MB)
[#001] sha256:179d1c7e20a28e389213f73f25ee63caf86aafba0baf164fbf479733d871b477 - 3.86% (7.13 MB)
[#002] sha256:da855902652d50493285044f65c79409a20f3834debfc4d00484028c681d4b1d - 2.18% (4.02 MB)
[#003] sha256:c7b0f877981e6ec1cddd24c979b8ec87f4ad0e15e346717318edbc2183ccc8ea - 0.43% (809 KB)
[#004] sha256:c3740017e034c77505a1b480d0c51ca039f20573aeb23d89fe08bf6f334d1789 - 0.0% (224 Bytes)
[#005] sha256:dd52a056c44b29cc1a1016c33d35071fbf4fda8a729ee964fe1074ce7b8a91be - 0.0% (248 Bytes)
[#006] sha256:4aaeedd509e6382fb8708b9ad03d893076c5e78a79debdc366e1600a3fce5fda - 0.0% (131 Bytes)
[#007] sha256:bccd1de909b7da8cc3b10b6627eb55242e4a82563f18658ffe6d0394ec19f39f - 70.32% (130 MB)
/bin/sh -c #(nop) ADD file:7f60c30de028a27a17d6295a846736ffbcefda0d0be7010ae16b1bff6b696676 in /
2017-07-25 12:53:50 UTC/bin/sh -c #(nop) CMD ["bash"]
2017-07-25 15:44:23 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-07-25 15:44:55 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-07-27 01:41:53 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-07-27 01:41:55 UTC/bin/sh -c echo 'deb http://deb.debian.org/debian experimental main' > /etc/apt/sources.list.d/experimental.list
2017-07-27 01:41:57 UTC/bin/sh -c #(nop) ENV LANG=C.UTF-8
2017-07-27 01:41:59 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-07-27 01:42:03 UTC/bin/sh -c ln -svT "/usr/lib/jvm/java-9-openjdk-$(dpkg --print-architecture)" /docker-java-home
2017-07-27 01:42:04 UTC/bin/sh -c #(nop) ENV JAVA_HOME=/docker-java-home
2017-07-27 01:42:05 UTC/bin/sh -c #(nop) ENV JAVA_VERSION=9-b179
2017-07-27 01:42:06 UTC/bin/sh -c #(nop) ENV JAVA_DEBIAN_VERSION=9~b179-2
2017-07-27 01:43:50 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-headless="$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.