2018-03-14 20:30:37 UTC
155 MB
9.0.1+11-1
JAVA_HOME/docker-java-home
JAVA_VERSION9.0.1+11
LANGC.UTF-8
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:793dde53d6e905ab81ddaae8c8ff711e51c5782e6ff5c8065a2f2017b116e00c - 14.19% (22 MB)
[#001] sha256:fd912422d8771b9bce422bc6af0c49132976576aa3834e0baccfc7c50ebd2ef9 - 0.27% (435 KB)
[#002] sha256:d547b26b9f7cb3ede348dd4e8f8d68fbb9c762a4bcd74738fd220c848c542972 - 0.0% (237 Bytes)
[#003] sha256:7b497df78fddfa0a48758ce249e8008ee03e6e16ab3325b17130d54deacb85a1 - 0.0% (131 Bytes)
[#004] sha256:3129732630871982791145ccf2aa977d07c9eab3f112a516a23ea9196bd15c5c - 85.53% (133 MB)
/bin/sh -c #(nop) ADD file:e02f4f3766155e52cc84a63120d6a2789b8ecbc9d3d5311e6fde66f676f7bb09 in /
2018-03-14 17:28:32 UTC/bin/sh -c #(nop) CMD ["bash"]
2018-03-14 19:56:09 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-03-14 20:20:33 UTC/bin/sh -c #(nop) ENV LANG=C.UTF-8
2018-03-14 20:20:40 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-03-14 20:20:45 UTC/bin/sh -c ln -svT "/usr/lib/jvm/java-9-openjdk-$(dpkg --print-architecture)" /docker-java-home
2018-03-14 20:20:46 UTC/bin/sh -c #(nop) ENV JAVA_HOME=/docker-java-home
2018-03-14 20:20:46 UTC/bin/sh -c #(nop) ENV JAVA_VERSION=9.0.1+11
2018-03-14 20:20:47 UTC/bin/sh -c #(nop) ENV JAVA_DEBIAN_VERSION=9.0.1+11-1
2018-03-14 20:30:36 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-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-03-14 20:30:37 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.