2018-05-15 09:50:43 UTC
155 MB
9.0.4+12-4
JAVA_HOME/docker-java-home
JAVA_VERSION9.0.4+12
LANGC.UTF-8
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:8a965c5efd07de5feb761f2ff7f7c9319fbd736849e5c372d102a79db79c4f2f - 14.36% (22.3 MB)
[#001] sha256:3ca2f61f6ee678d7988be608168e9c185ba5c895ae0c465aae1111cc9b9f381e - 0.27% (435 KB)
[#002] sha256:46c81d59c641d2ddc2a09929f5b5d1a2b5181d4c465d5d47ac607bb97deb6f8a - 0.0% (238 Bytes)
[#003] sha256:f3359846d10d5ef13605aa0470f33e1cb5fd5e8e6977c33a370b2abacad0613f - 0.0% (131 Bytes)
[#004] sha256:267803d14fc5b275c66b3cbcf92dadc0a0eeb5ce033c21df63b7e74df4d3535b - 85.36% (132 MB)
/bin/sh -c #(nop) ADD file:0c141fd79d3e8c492efc85f35f6f2273b082454831ae4e4e58f2bb99395ac72b in /
2018-04-30 23:28:47 UTC/bin/sh -c #(nop) CMD ["bash"]
2018-05-01 10:26:42 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-05-01 10:26:43 UTC/bin/sh -c #(nop) ENV LANG=C.UTF-8
2018-05-01 10:26:45 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-05-01 10:56:53 UTC/bin/sh -c ln -svT "/usr/lib/jvm/java-9-openjdk-$(dpkg --print-architecture)" /docker-java-home
2018-05-01 10:56:53 UTC/bin/sh -c #(nop) ENV JAVA_HOME=/docker-java-home
2018-05-01 10:56:54 UTC/bin/sh -c #(nop) ENV JAVA_VERSION=9.0.4+12
2018-05-01 10:56:55 UTC/bin/sh -c #(nop) ENV JAVA_DEBIAN_VERSION=9.0.4+12-4
2018-05-15 09:50:42 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-9-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'
2018-05-15 09:50:43 UTC/bin/sh -c #(nop) CMD ["jshell"]
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.