2017-07-22 10:21:06 UTC
154 MB
9~b177-3
JAVA_HOME/docker-java-home
JAVA_VERSION9-b177
LANGC.UTF-8
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:eea312dae61f3021f7116de3cca42dd76612f1592573f1cabe910b361eb81762 - 12.08% (18.6 MB)
[#001] sha256:24f22474cee3a060561a0f006cffc61ce283e9979b70fa5e99642ee2d49c4631 - 0.27% (430 KB)
[#002] sha256:cae05a69d182e1a5b5728f0d71c2dbc2e18dc1d9e752b8d918d2a4a732fbe635 - 0.0% (225 Bytes)
[#003] sha256:b458477156cac011ea70fd95b3bde3ad479d62a5ba240fde4279db30e15983d1 - 0.0% (249 Bytes)
[#004] sha256:30e1cfdec527f41d32cc47ef6bd9dabe29ea5f88e7a6aa3d204b52f26c7905e1 - 0.0% (131 Bytes)
[#005] sha256:9131add0a756063e81e77f491d0791b906f52c06200e187bb2be2f6e82313715 - 87.64% (135 MB)
/bin/sh -c #(nop) ADD file:c6b428470dfb541927e66122cb379db971451ebd7719434b9d9a64b1ac3c4d7e in /
2017-06-20 19:59:28 UTC/bin/sh -c #(nop) CMD ["bash"]
2017-07-22 10:19:17 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-22 10:19:18 UTC/bin/sh -c echo 'deb http://deb.debian.org/debian experimental main' > /etc/apt/sources.list.d/experimental.list
2017-07-22 10:19:19 UTC/bin/sh -c #(nop) ENV LANG=C.UTF-8
2017-07-22 10:19: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
2017-07-22 10:19:22 UTC/bin/sh -c ln -svT "/usr/lib/jvm/java-9-openjdk-$(dpkg --print-architecture)" /docker-java-home
2017-07-22 10:19:22 UTC/bin/sh -c #(nop) ENV JAVA_HOME=/docker-java-home
2017-07-22 10:19:23 UTC/bin/sh -c #(nop) ENV JAVA_VERSION=9-b177
2017-07-22 10:19:24 UTC/bin/sh -c #(nop) ENV JAVA_DEBIAN_VERSION=9~b177-3
2017-07-22 10:21:06 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-jdk-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.