2019-03-05 14:26:51 UTC
71.6 MB
8u181-b13-2~deb9u1
JAVA_HOME/docker-java-home
JAVA_VERSION8u181
LANGC.UTF-8
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:ecad9bd7ef0cc879127c92e50db573b75c643910463a12affaa5be77c7960bda - 25.7% (18.4 MB)
[#001] sha256:d0521b55e58101891fe3bdcc6fd848218b3c82779e098759b9c6012d3c62c278 - 0.57% (421 KB)
[#002] sha256:c7c9564a7a9c1c176cdc06947f537ce24974acb1c56fe27189978b14a7798034 - 0.0% (248 Bytes)
[#003] sha256:3891ad026bce160e4e740f9ababb510c98f74c77879772c67140b36910f3eff5 - 0.0% (131 Bytes)
[#004] sha256:52e9acd37651ae14635aab74823714f1f087752a38386e2e12e1417b76bd820a - 73.73% (52.8 MB)
/bin/sh -c #(nop) ADD file:5d43d39fbe853e1f4c9f89be2ddc937fb88624889c511b9a75d6389c2b67918a in /
2019-03-05 13:11:03 UTC/bin/sh -c #(nop) CMD ["bash"]
2019-03-05 14:23:03 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-03-05 14:26:16 UTC/bin/sh -c #(nop) ENV LANG=C.UTF-8
2019-03-05 14:26:17 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-03-05 14:26:19 UTC/bin/sh -c ln -svT "/usr/lib/jvm/java-8-openjdk-$(dpkg --print-architecture)" /docker-java-home
2019-03-05 14:26:19 UTC/bin/sh -c #(nop) ENV JAVA_HOME=/docker-java-home
2019-03-05 14:26:19 UTC/bin/sh -c #(nop) ENV JAVA_VERSION=8u181
2019-03-05 14:26:20 UTC/bin/sh -c #(nop) ENV JAVA_DEBIAN_VERSION=8u181-b13-2~deb9u1
2019-03-05 14:26:51 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-8-jdk-headless="$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.