2018-03-14 14:14:23 UTC
210 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:01f50fb86130a0959fcc95157f9f911daf27a42f88c23a55ad8ad827eb4d7124 - 22.1% (46.4 MB)
[#001] sha256:f443c42bb7889303382d6ffcef26b8a270f42924190090e04cfb62fd0703a08e - 8.29% (17.4 MB)
[#002] sha256:0679f3dfeabb2acc76154f3d3f423d04c7239f9ebcd2a11ccff7fe4341fee540 - 18.03% (37.9 MB)
[#003] sha256:b5305958a542e75eeb820afb955769bf7f737da84b6dd0676ef0f17d14310a32 - 0.36% (777 KB)
[#004] sha256:c69acf8409aaca3cf4a8ad85506e857272012ee8407912b9df22c84e8443b76b - 0.0% (248 Bytes)
[#005] sha256:e2cf8947f4cbcb2fb24f43b113628b14e2c73120bdfd38eee8db872f7a0fb592 - 0.0% (131 Bytes)
[#006] sha256:f07367cb54a1b96d0919fe3427a0a28180a7fe2f8a0458d7983b0357e7224c95 - 51.23% (108 MB)
/bin/sh -c #(nop) ADD file:61187374d52790eaf655b56fcca85d392ef4a9d0844161f18ea519a8f6acb1bb in /
2018-03-14 12:26:46 UTC/bin/sh -c #(nop) CMD ["bash"]
2018-03-14 13:12:15 UTC/bin/sh -c apt-get update && apt-get install -y --no-install-recommends ca-certificates curl wget && rm -rf /var/lib/apt/lists/*
2018-03-14 13:12:19 UTC/bin/sh -c set -ex; if ! command -v gpg > /dev/null; then apt-get update; apt-get install -y --no-install-recommends gnupg dirmngr ; rm -rf /var/lib/apt/lists/*; fi
2018-03-14 13:13:33 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/*
2018-03-14 14:12:57 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:12:58 UTC/bin/sh -c #(nop) ENV LANG=C.UTF-8
2018-03-14 14:12:59 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:13:09 UTC/bin/sh -c ln -svT "/usr/lib/jvm/java-7-openjdk-$(dpkg --print-architecture)" /docker-java-home
2018-03-14 14:13:18 UTC/bin/sh -c #(nop) ENV JAVA_HOME=/docker-java-home
2018-03-14 14:13:19 UTC/bin/sh -c #(nop) ENV JAVA_VERSION=7u151
2018-03-14 14:13:19 UTC/bin/sh -c #(nop) ENV JAVA_DEBIAN_VERSION=7u151-2.6.11-2~deb8u1
2018-03-14 14:14:23 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.