2017-07-24 18:42:21 UTC
224 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:789ee77158dc69b2a7607a88178e3d9ec0fb6429693be2f626cf7a8ecbdeee70 - 21.24% (47.6 MB)
[#001] sha256:758193f0361acbb72995ebf5345814cff46ba026db5b48ba79e4a1450e544828 - 7.97% (17.9 MB)
[#002] sha256:8ac60a8540844125f4e7e2da0e37804601c181a86cce1ce236138342addd3158 - 17.43% (39.1 MB)
[#003] sha256:80918cc792d2dabbbfc7004c5e9e5974c8d1b71731476581c7e8eba7b907aec1 - 0.35% (804 KB)
[#004] sha256:b7d3e5b7cec6e50e282c40b8ccc47743024ea12d2f6e561c350a109ba1ce03bd - 0.0% (247 Bytes)
[#005] sha256:56fd030456166cc0913c76a553886b4b7c2551a583987ea545384f954f62ddc9 - 0.0% (130 Bytes)
[#006] sha256:90744d5cc45f6e954a9109bc9fe50eef06b6e036c40ec5460e48b412779882a9 - 53.02% (119 MB)
/bin/sh -c #(nop) ADD file:b7954f6f520f5e2932d8cfef9549fa31889b7469bfe1706f868be70880dc6b8c in /
2017-07-24 17:22:53 UTC/bin/sh -c #(nop) CMD ["bash"]
2017-07-24 18:00:30 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-24 18:00:32 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-24 18:01:55 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/*
2017-07-24 18:35:35 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:35:35 UTC/bin/sh -c #(nop) ENV LANG=C.UTF-8
2017-07-24 18:35:37 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:35:39 UTC/bin/sh -c ln -svT "/usr/lib/jvm/java-7-openjdk-$(dpkg --print-architecture)" /docker-java-home
2017-07-24 18:35:40 UTC/bin/sh -c #(nop) ENV JAVA_HOME=/docker-java-home
2017-07-24 18:35:41 UTC/bin/sh -c #(nop) ENV JAVA_VERSION=7u131
2017-07-24 18:35:42 UTC/bin/sh -c #(nop) ENV JAVA_DEBIAN_VERSION=7u131-2.6.9-2~deb8u1
2017-07-24 18:42:21 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.