2019-05-08 14:22:57 UTC
92.8 MB
7u211-2.6.17-1~deb8u1
JAVA_HOME/docker-java-home
JAVA_VERSION7u211
LANGC.UTF-8
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:e087398f59c8258df1419a1dab97ac7f54b57bb151a24b88dc99be00bc7546bf - 27.02% (25.1 MB)
[#001] sha256:8efe4a7ebf76e8a3f2d4742cd8502a63033c71a56cfaea279451f52304eebe85 - 0.44% (422 KB)
[#002] sha256:699be4fc2145cba7ae971d162a5631dcef0a166e9ab31f18868f81e6bcfc32e3 - 0.0% (247 Bytes)
[#003] sha256:d62e9aa1e5a626a6a010f06a4167cadb37dcccf2a7af44145bf3677116542535 - 0.0% (131 Bytes)
[#004] sha256:fada09c4ca0ddee6a9d75f2b48ceac1dc7062ad65702284dfc2c81be0ce83892 - 72.53% (67.3 MB)
/bin/sh -c #(nop) ADD file:bb152e954677aa990a56cf43a95243715ae81fc63067d4c1dd692e140bc80d36 in /
2019-05-08 12:00:04 UTC/bin/sh -c #(nop) CMD ["bash"]
2019-05-08 14:21:05 UTC/bin/sh -c apt-get update && apt-get install -y --no-install-recommends bzip2 unzip xz-utils && rm -rf /var/lib/apt/lists/*
2019-05-08 14:21:05 UTC/bin/sh -c #(nop) ENV LANG=C.UTF-8
2019-05-08 14:21:07 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
2019-05-08 14:21:08 UTC/bin/sh -c ln -svT "/usr/lib/jvm/java-7-openjdk-$(dpkg --print-architecture)" /docker-java-home
2019-05-08 14:21:08 UTC/bin/sh -c #(nop) ENV JAVA_HOME=/docker-java-home
2019-05-08 14:21:09 UTC/bin/sh -c #(nop) ENV JAVA_VERSION=7u211
2019-05-08 14:21:09 UTC/bin/sh -c #(nop) ENV JAVA_DEBIAN_VERSION=7u211-2.6.17-1~deb8u1
2019-05-08 14:22:57 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 --no-install-recommends 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.