2017-07-21 22:15:58 UTC
174 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:e26bcb77d89dcbb302f3c7f85283bcc5e74d43cba91630980920f7805f500587 - 12.33% (21.4 MB)
[#001] sha256:3b6883c2bb9de9e893c2865fc03e8a856dcfabaf44b813e0b03e6346252a66b7 - 0.15% (260 KB)
[#002] sha256:2589742f6eda3b032f99979e77767e2a2a7ab60175ef0143e465c7184b04f070 - 0.0% (214 Bytes)
[#003] sha256:90eac54691b2f3021b3fe6fb96e0930aefcb40ef33d0d546b88cf9ca57656bdf - 0.0% (241 Bytes)
[#004] sha256:e8f173512ad885e04cc70923240af99a0b579ed097f1e49b3a6acedced2b1188 - 0.0% (132 Bytes)
[#005] sha256:8f8743131d43c6286ee79e715acc6f75d9dab71daa6c969961a0ef99cced9a31 - 87.52% (152 MB)
/bin/sh -c #(nop) ADD file:29ac02e338e0889dadc0275c186bf94e3e288d86fcc3cb2e133eba440b078128 in /
2017-06-20 20:21:03 UTC/bin/sh -c #(nop) CMD ["bash"]
2017-07-21 22:15:02 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-21 22:15:03 UTC/bin/sh -c echo 'deb http://deb.debian.org/debian experimental main' > /etc/apt/sources.list.d/experimental.list
2017-07-21 22:15:04 UTC/bin/sh -c #(nop) ENV LANG=C.UTF-8
2017-07-21 22:15:07 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-21 22:15:09 UTC/bin/sh -c ln -svT "/usr/lib/jvm/java-9-openjdk-$(dpkg --print-architecture)" /docker-java-home
2017-07-21 22:15:11 UTC/bin/sh -c #(nop) ENV JAVA_HOME=/docker-java-home
2017-07-21 22:15:14 UTC/bin/sh -c #(nop) ENV JAVA_VERSION=9-b177
2017-07-21 22:15:16 UTC/bin/sh -c #(nop) ENV JAVA_DEBIAN_VERSION=9~b177-3
2017-07-21 22:15:58 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.