2019-05-08 14:14:46 UTC
71.6 MB
8u212-b01-1~deb9u1
JAVA_HOME/docker-java-home
JAVA_VERSION8u212
LANGC.UTF-8
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:b0727b1ec48ef8920082aec023c050c83b563ae08080d9951d68fba55934bbd6 - 25.67% (18.4 MB)
[#001] sha256:c1e4b3bd395a6982a3d52e8e2c57651fb045081876d3ca9e21f248e1d6bc74cb - 0.57% (421 KB)
[#002] sha256:c3a541a7bc5211dd1a923061f4978b3cf7a6b4b3144dbdb679863fe09240886a - 0.0% (247 Bytes)
[#003] sha256:9581944edf718a07e1853240b2d7caec780beaf162aec89a02314401ec2b62c6 - 0.0% (132 Bytes)
[#004] sha256:b3983e778085318897d7ea5368a2cedd24a2ce2fd0c33f66ac5628125acc5b13 - 73.76% (52.8 MB)
/bin/sh -c #(nop) ADD file:7813549b5e7862c4d5ecec9e7d8da27b520dd2cc1433e66637c57bb695d4f55a in /
2019-05-08 12:03:54 UTC/bin/sh -c #(nop) CMD ["bash"]
2019-05-08 14:08:37 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:14:09 UTC/bin/sh -c #(nop) ENV LANG=C.UTF-8
2019-05-08 14:14:11 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:14:13 UTC/bin/sh -c ln -svT "/usr/lib/jvm/java-8-openjdk-$(dpkg --print-architecture)" /docker-java-home
2019-05-08 14:14:14 UTC/bin/sh -c #(nop) ENV JAVA_HOME=/docker-java-home
2019-05-08 14:14:14 UTC/bin/sh -c #(nop) ENV JAVA_VERSION=8u212
2019-05-08 14:14:15 UTC/bin/sh -c #(nop) ENV JAVA_DEBIAN_VERSION=8u212-b01-1~deb9u1
2019-05-08 14:14:46 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.