2018-03-14 14:16:24 UTC
121 MB
7u151-2.6.11-2~deb8u1
JAVA_HOME/docker-java-home
JAVA_VERSION7u151
LANGC.UTF-8
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:b8c016a755ce56e2fbb5a9f179c7bde3f0742c21b2727356a1658fc7d973f46a - 20.67% (25.1 MB)
[#001] sha256:67b5b51682b5721472ebae1c157daa42a439c1c7350098b17dc2a72c0c9c5ed3 - 0.34% (422 KB)
[#002] sha256:d7ad124330a918a6ddc3a11579dddc558a2ea7385fc78e0865636207d63c7764 - 0.0% (248 Bytes)
[#003] sha256:37eea2a8b3cd6a4e861b8e29320fcc0a1af517e5c183288696dfd04a696c13cb - 0.0% (130 Bytes)
[#004] sha256:bab5535c3aee2d4d761404a887b6630e595db25acb28e8eb9ac7d47b4348352b - 78.99% (95.8 MB)
/bin/sh -c #(nop) ADD file:901c5a711f269a7dd8f11eff27131cd2f6d2aee98d68f1e19b4ed954798e5d3f in /
2018-03-14 12:27:29 UTC/bin/sh -c #(nop) CMD ["bash"]
2018-03-14 14:11:09 UTC/bin/sh -c apt-get update && apt-get install -y --no-install-recommends bzip2 unzip xz-utils && rm -rf /var/lib/apt/lists/*
2018-03-14 14:11:16 UTC/bin/sh -c #(nop) ENV LANG=C.UTF-8
2018-03-14 14:11:18 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
2018-03-14 14:11:19 UTC/bin/sh -c ln -svT "/usr/lib/jvm/java-7-openjdk-$(dpkg --print-architecture)" /docker-java-home
2018-03-14 14:14:54 UTC/bin/sh -c #(nop) ENV JAVA_HOME=/docker-java-home
2018-03-14 14:14:55 UTC/bin/sh -c #(nop) ENV JAVA_VERSION=7u151
2018-03-14 14:14:55 UTC/bin/sh -c #(nop) ENV JAVA_DEBIAN_VERSION=7u151-2.6.11-2~deb8u1
2018-03-14 14:16:24 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.