2017-07-22 10:19:03 UTC
235 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:ad6387035af97d9c7fa53b94894a7cb6bfe65e88582cc994f1b2870c15943fe9 - 17.08% (40.2 MB)
[#001] sha256:408d03412cab0e294010f404a4615f11bb6d410ea9efd6b007129eeec9124a76 - 4.17% (9.81 MB)
[#002] sha256:96047f3aa4e835be248993e9128baa6e4f298e3055d9ad17007c11c6f791bcf1 - 1.78% (4.19 MB)
[#003] sha256:fd1128f5c5eee859ed3beff39e2ecee7539d21434fe5218330044bbd5faaa648 - 20.7% (48.7 MB)
[#004] sha256:0329212e544ba21f36cbe6ec65214e7790584fd28f2ef8c6055c3ba688e743a2 - 0.35% (856 KB)
[#005] sha256:5926ccff480aada3588d7d411a2760289dac19527b3101e485a336a4601bf8db - 0.0% (223 Bytes)
[#006] sha256:325b6d141e9a467d341479afafb14453a860b9bd66afcfd6e04d283c495c19fb - 0.0% (249 Bytes)
[#007] sha256:3681c319cad28bf550fda774acbab2ee73c5acec6eaa58cfa6d2f1435b49d8bd - 0.0% (131 Bytes)
[#008] sha256:6e5dbe54df174b7a69a5697c1b99ff69fd193186b0e7a06218f8eaeb6cb33f44 - 55.92% (132 MB)
/bin/sh -c #(nop) ADD file:e1d96cb7e80ffc7380569bf9e18b6b8adc0d689e7b18a445bbf8e805ec85e05d in /
2017-06-20 19:59:15 UTC/bin/sh -c #(nop) CMD ["bash"]
2017-07-21 10:04:06 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-21 10:04:27 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-21 10:05:55 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-07-21 13:50:55 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 13:50:57 UTC/bin/sh -c echo 'deb http://deb.debian.org/debian experimental main' > /etc/apt/sources.list.d/experimental.list
2017-07-21 13:50:58 UTC/bin/sh -c #(nop) ENV LANG=C.UTF-8
2017-07-21 13:51:01 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 13:51:04 UTC/bin/sh -c ln -svT "/usr/lib/jvm/java-9-openjdk-$(dpkg --print-architecture)" /docker-java-home
2017-07-21 13:51:05 UTC/bin/sh -c #(nop) ENV JAVA_HOME=/docker-java-home
2017-07-21 13:51:07 UTC/bin/sh -c #(nop) ENV JAVA_VERSION=9-b177
2017-07-21 13:51:08 UTC/bin/sh -c #(nop) ENV JAVA_DEBIAN_VERSION=9~b177-3
2017-07-22 10:19:03 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.