2017-07-21 22:16:42 UTC
207 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:f836f6e9bd1ef868da87e8fdcd0443c718f899e6da05effb84bb370ddc2c039f - 20.85% (43.1 MB)
[#001] sha256:866f097affeb6c2272cae889af2ad71060e7e1e31baef46758f838a060c70da5 - 5.18% (10.7 MB)
[#002] sha256:d3999d81b5d80519af4924f4ffa9088d684372004fc9380566ee69e32da21b49 - 2.04% (4.22 MB)
[#003] sha256:36899e8fd4235bf002a4cae7859880545842458e60b39d2f5ca60edadc459c41 - 0.29% (615 KB)
[#004] sha256:5304abbfd9e75a85067dd08fb0e9e3b9e0dedd4d1a2d0e290d6e26c9c7232ed3 - 0.0% (214 Bytes)
[#005] sha256:21044b9adfc2d3791ba813b67d134754031ee3f3f8643262e3f2d88afc40be9b - 0.0% (242 Bytes)
[#006] sha256:2edc540855c3c0488a1f9d35b51a115e0e4aca4c196830997492d6a82876f033 - 0.0% (131 Bytes)
[#007] sha256:3b6e1ccafbc279b1a773e1fccc1ee142316d2a54bfd74022db9812310925a466 - 71.64% (148 MB)
/bin/sh -c #(nop) ADD file:f1ecd61b58b0033ca44bae2e926027ea8f983690afae114fa2d6909514c1e660 in /
2017-06-20 20:20:11 UTC/bin/sh -c #(nop) CMD ["bash"]
2017-06-20 21:12:16 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-07 01:34:05 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-07 05:47:21 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-07 05:47:23 UTC/bin/sh -c echo 'deb http://deb.debian.org/debian experimental main' > /etc/apt/sources.list.d/experimental.list
2017-07-07 05:47:24 UTC/bin/sh -c #(nop) ENV LANG=C.UTF-8
2017-07-07 05:47:25 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-07 05:47:27 UTC/bin/sh -c ln -svT "/usr/lib/jvm/java-9-openjdk-$(dpkg --print-architecture)" /docker-java-home
2017-07-07 05:47:28 UTC/bin/sh -c #(nop) ENV JAVA_HOME=/docker-java-home
2017-07-19 23:28:20 UTC/bin/sh -c #(nop) ENV JAVA_VERSION=9-b177
2017-07-19 23:28:20 UTC/bin/sh -c #(nop) ENV JAVA_DEBIAN_VERSION=9~b177-3
2017-07-21 22:16:42 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.