2017-04-26 23:11:29 UTC
251 MB
9~b161-1
JAVA_HOME/usr/lib/jvm/java-9-openjdk-amd64
JAVA_VERSION9~b161
LANGC.UTF-8
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:a841bbfc2677931730fc87f2ae744411bafc92235b68ca88a21443c2a9adaa55 - 17.19% (43.2 MB)
[#001] sha256:4d5c09827328edda71795dc28781e627950f1a5bbec385201080f5aed329daba - 8.13% (20.4 MB)
[#002] sha256:754a5e86a8a3d961b9f6ca710d35659c604e2ae767f15a82fe0dc8b41aa04e43 - 15.51% (38.9 MB)
[#003] sha256:8468b2aa102cd59731e580352efec7dbfc21cf0a5497f6a34e681917530a4a40 - 0.25% (644 KB)
[#004] sha256:5da02347ff68f5d8d4f2d7fa1c21b934222e4cc86c32b3acdb5ecf22d4527060 - 0.0% (214 Bytes)
[#005] sha256:a182b8c78e914657dff19e63ceb2bf298d357109da9546fb3b318539e946374f - 0.0% (240 Bytes)
[#006] sha256:dc6a6b69791b11c869ce8a9e29ae6eacf2054e9c52aacecfcf71018423a49cb1 - 58.92% (148 MB)
/bin/sh -c #(nop) ADD file:c473955c7b4205ed3e562fd42f0e8a0dc2b73d83a951d1302c5934bccd4595e1 in /
2017-04-24 19:23:44 UTC/bin/sh -c #(nop) CMD ["/bin/bash"]
2017-04-24 19:56:33 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-04-24 19:57:28 UTC/bin/sh -c apt-get update && apt-get install -y --no-install-recommends bzr git mercurial openssh-client subversion procps && rm -rf /var/lib/apt/lists/*
2017-04-25 00:43:47 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-04-25 00:43:49 UTC/bin/sh -c echo 'deb http://deb.debian.org/debian experimental main' > /etc/apt/sources.list.d/experimental.list
2017-04-25 00:43:50 UTC/bin/sh -c #(nop) ENV LANG=C.UTF-8
2017-04-25 00:43:51 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-04-25 00:43:52 UTC/bin/sh -c #(nop) ENV JAVA_HOME=/usr/lib/jvm/java-9-openjdk-amd64
2017-04-25 00:43:52 UTC/bin/sh -c #(nop) ENV JAVA_VERSION=9~b161
2017-04-25 00:43:53 UTC/bin/sh -c #(nop) ENV JAVA_DEBIAN_VERSION=9~b161-1
2017-04-26 23:11:29 UTC/bin/sh -c set -ex; apt-get update; apt-get install -y openjdk-9-jdk-headless="$JAVA_DEBIAN_VERSION" ; rm -rf /var/lib/apt/lists/*; [ "$JAVA_HOME" = "$(docker-java-home)" ]; update-alternatives --get-selections | awk -v home="$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.