2017-07-24 18:07:35 UTC
145 MB
7u131-2.6.9-2~deb8u1
JAVA_HOME/docker-java-home
JAVA_VERSION7u131
LANGC.UTF-8
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:5233d9aed181939c195efdc439722dc3e56f4f8d8d80f8844d0b7881f6ce9f99 - 19.84% (28.7 MB)
[#001] sha256:d20055ea57cdd9023a55d53812c505f2807309828d7ebfc12e07d648c3a2fa47 - 0.17% (253 KB)
[#002] sha256:18ba1fdad565b81e919ee6c089a3683eaa761c5cfe19663abdd6b9bb8a9bea36 - 0.0% (241 Bytes)
[#003] sha256:22d04cbc8329a17c4546e4ec235fa64aac43b87c23114b9d64f1ea5ea30633fd - 0.0% (131 Bytes)
[#004] sha256:f084ce8cf64b60fed61ae9ae2e3bb00496fc92b5d298a536f25a7aad778110dd - 79.99% (116 MB)
/bin/sh -c #(nop) ADD file:9f2ffbca4af360bf690b4594501908bc985dfce32953ad8b733fc2a290b75a80 in /
2017-07-24 16:51:35 UTC/bin/sh -c #(nop) CMD ["bash"]
2017-07-24 18:05:51 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-24 18:05:51 UTC/bin/sh -c #(nop) ENV LANG=C.UTF-8
2017-07-24 18:05:52 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-24 18:05:53 UTC/bin/sh -c ln -svT "/usr/lib/jvm/java-7-openjdk-$(dpkg --print-architecture)" /docker-java-home
2017-07-24 18:05:53 UTC/bin/sh -c #(nop) ENV JAVA_HOME=/docker-java-home
2017-07-24 18:05:53 UTC/bin/sh -c #(nop) ENV JAVA_VERSION=7u131
2017-07-24 18:05:53 UTC/bin/sh -c #(nop) ENV JAVA_DEBIAN_VERSION=7u131-2.6.9-2~deb8u1
2017-07-24 18:07:35 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-7-jdk="$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.