2017-10-10 01:06:23 UTC
115 MB
7u151-2.6.11-1~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:f2da27d97c13e9e531eda9577a28eb81b0d9034d7fd7e6575bd92744eed500f6 - 22.79% (26.2 MB)
[#001] sha256:4a24f9054de6049ff209097f030f33b2b3a730cdda41aee7369007cadb1e0f80 - 0.38% (447 KB)
[#002] sha256:bd284f43507bcac78e2f93512d0790d24f64720a1f17971e0312bb6475ea27ee - 0.0% (247 Bytes)
[#003] sha256:a3a082a1003eb057bcb8d89a7c258b0fcd24e24745e03eaf2e8f0023cea29bec - 0.0% (130 Bytes)
[#004] sha256:fcb29937877c30b6010c20b737c764f913bdc768027f8ea2c69e69cb5b015c71 - 76.83% (88.4 MB)
/bin/sh -c #(nop) ADD file:75f5768db078e9eee90676141a2c9faa9ce02768b7c9cd6e588bdd5ffc0f65e3 in /
2017-10-09 21:43:51 UTC/bin/sh -c #(nop) CMD ["bash"]
2017-10-10 00:59:24 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-10-10 00:59:26 UTC/bin/sh -c #(nop) ENV LANG=C.UTF-8
2017-10-10 00:59:28 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-10-10 00:59:30 UTC/bin/sh -c ln -svT "/usr/lib/jvm/java-7-openjdk-$(dpkg --print-architecture)" /docker-java-home
2017-10-10 00:59:31 UTC/bin/sh -c #(nop) ENV JAVA_HOME=/docker-java-home
2017-10-10 00:59:33 UTC/bin/sh -c #(nop) ENV JAVA_VERSION=7u151
2017-10-10 00:59:34 UTC/bin/sh -c #(nop) ENV JAVA_DEBIAN_VERSION=7u151-2.6.11-1~deb8u1
2017-10-10 01:06: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.