2018-04-20 12:09:03 UTC
222 MB
10~46-5
JAVA_HOME/docker-java-home
JAVA_VERSION10-ea+46
LANGC.UTF-8
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:eb4d24f57aa2e9887d736ab5ae837254043a7420798488e113011250c3d45c6b - 9.33% (20.7 MB)
[#001] sha256:fb6632e794ba04784b0b45265566f4f18a26d40bdfdd4aa6726c2df55600f62e - 0.19% (426 KB)
[#002] sha256:8e62fee9928c709ea5d7c9da848769f94473ffc5f05cbc085072d2748d08a374 - 0.0% (238 Bytes)
[#003] sha256:71eb05175abb2819c084eaf8e1e8d31eff017024030aeb8acafae1c46425308d - 0.0% (132 Bytes)
[#004] sha256:29244b2aebcfd029527de6b332914c1d31fc035564a3abca4768384d84f4616a - 90.48% (201 MB)
/bin/sh -c #(nop) ADD file:01a57c20f154d841f3d0067187339035634947891cdd63b93cf26c052ccec8a9 in /
2018-03-14 12:30:52 UTC/bin/sh -c #(nop) CMD ["bash"]
2018-03-14 13:49:45 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 13:56:59 UTC/bin/sh -c #(nop) ENV LANG=C.UTF-8
2018-03-14 13:57:00 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-04-20 12:05:34 UTC/bin/sh -c ln -svT "/usr/lib/jvm/java-10-openjdk-$(dpkg --print-architecture)" /docker-java-home
2018-04-20 12:05:34 UTC/bin/sh -c #(nop) ENV JAVA_HOME=/docker-java-home
2018-04-20 12:05:35 UTC/bin/sh -c #(nop) ENV JAVA_VERSION=10-ea+46
2018-04-20 12:05:35 UTC/bin/sh -c #(nop) ENV JAVA_DEBIAN_VERSION=10~46-5
2018-04-20 12:09:01 UTC/bin/sh -c set -ex; if [ ! -d /usr/share/man/man1 ]; then mkdir -p /usr/share/man/man1; fi; ln -svT /docker-java-home/bin/java /usr/local/bin/java; apt-get update; apt-get install -y openjdk-10-jdk="$JAVA_DEBIAN_VERSION" ; rm -rf /var/lib/apt/lists/*; rm -v /usr/local/bin/java; [ "$(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-04-20 12:09:03 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.