2018-12-05 13:04:13 UTC
85.3 MB
11.0.1+13-3
JAVA_HOME/docker-java-home
JAVA_VERSION11.0.1
LANGC.UTF-8
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:a46a0ea4702a84cb0c937aae8e52a790ac652554e7ab1f95332afe0454164a9b - 24.84% (21.2 MB)
[#001] sha256:bba4f512f4b63db7263583456c419ed07495e2ceaa2cd64fc333b41adc7abf28 - 0.49% (425 KB)
[#002] sha256:e884e5bcef3b212a4cde9d19fce61220f7c958f7004534396e1b2d607ba527c8 - 0.0% (238 Bytes)
[#003] sha256:f6185f940a7ed402b995cf1e5b6e8a3d64bf5a1c9ac2b764a58ffc5263b22ed6 - 0.0% (131 Bytes)
[#004] sha256:d7f090be2b5b730e4702dd81823985a0091d8a8ee2f61ae7434c63fd595117da - 74.67% (63.7 MB)
/bin/sh -c #(nop) ADD file:43994019e06a9b1d483bb153db2ba5cf8bb01853a44067ac88feda0eb3ebb68b in /
2018-11-16 13:06:47 UTC/bin/sh -c #(nop) CMD ["bash"]
2018-11-16 19:13: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/*
2018-11-16 19:13:37 UTC/bin/sh -c #(nop) ENV LANG=C.UTF-8
2018-11-16 19:13:38 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-11-16 19:13:40 UTC/bin/sh -c ln -svT "/usr/lib/jvm/java-11-openjdk-$(dpkg --print-architecture)" /docker-java-home
2018-11-16 19:13:40 UTC/bin/sh -c #(nop) ENV JAVA_HOME=/docker-java-home
2018-11-16 19:13:41 UTC/bin/sh -c #(nop) ENV JAVA_VERSION=11.0.1
2018-12-05 13:00:55 UTC/bin/sh -c #(nop) ENV JAVA_DEBIAN_VERSION=11.0.1+13-3
2018-12-05 13:04:13 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-11-jre-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.