2017-10-10 01:52:09 UTC
154 MB
9~b181-4
JAVA_HOME/docker-java-home
JAVA_VERSION9-b181
LANGC.UTF-8
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:9dc315cd342ed5fdb1c77afafbe657c1c29de0747c81d85f1f9ae06ad1d01fa4 - 14.05% (21.7 MB)
[#001] sha256:7f96b1ccf72714886ea440013736b3705900f6f9751ec2664a26a9cb3042e3f0 - 0.28% (435 KB)
[#002] sha256:09d7984bd0489b39fe260c46dcb9772e8656599426233067ad9af68b557e2d73 - 0.0% (246 Bytes)
[#003] sha256:f3682b3ee64dc20e447d8a52e66fd89da4f08cb2341fc1836b460609fc12eb0d - 0.0% (131 Bytes)
[#004] sha256:a42934029f8dcbcb579e040f9cc84c49b8d40a6de13bc36079b0679c7d253c18 - 85.68% (132 MB)
/bin/sh -c #(nop) ADD file:7734ca257bd7327a8da07cdcc881d2054c6cf50201f5bb0aeda8637c7e40cc06 in /
2017-10-09 21:45:51 UTC/bin/sh -c #(nop) CMD ["bash"]
2017-10-10 01:49:51 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 01:49:51 UTC/bin/sh -c #(nop) ENV LANG=C.UTF-8
2017-10-10 01:49:53 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 01:49:55 UTC/bin/sh -c ln -svT "/usr/lib/jvm/java-9-openjdk-$(dpkg --print-architecture)" /docker-java-home
2017-10-10 01:49:55 UTC/bin/sh -c #(nop) ENV JAVA_HOME=/docker-java-home
2017-10-10 01:49:56 UTC/bin/sh -c #(nop) ENV JAVA_VERSION=9-b181
2017-10-10 01:49:57 UTC/bin/sh -c #(nop) ENV JAVA_DEBIAN_VERSION=9~b181-4
2017-10-10 01:52:07 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'
2017-10-10 01:52:09 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.