2017-10-09 23:13:34 UTC
151 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:d96a59f9a30fc164a930c5f4118584e683bec40d1797f9d9bca30f65f3a647af - 13.66% (20.6 MB)
[#001] sha256:0c164bdc72bb7e7c356d01b6f09f139b666b9b352a4ddc54537fdaa48e8a0ad6 - 0.28% (426 KB)
[#002] sha256:b40759634bf5c1bbde4c10d3cb802e1d71d31216cf2c389d566820272f1239ca - 0.0% (247 Bytes)
[#003] sha256:aaabb110ae529eef899672bd02ae789a08f5b8093187fded0073a6352a26493d - 0.0% (131 Bytes)
[#004] sha256:5a6e1fe732e41b13f05cab57e7100990cb2a87ad2784e6fa36eccc8fe1ce8b53 - 86.06% (130 MB)
/bin/sh -c #(nop) ADD file:5d5c4a7233c6c9a2682e39e732a1f23db741e074dbc5b6f16309bb53d0bdaf18 in /
2017-10-09 21:44:29 UTC/bin/sh -c #(nop) CMD ["bash"]
2017-10-09 23:10:27 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-09 23:10:27 UTC/bin/sh -c #(nop) ENV LANG=C.UTF-8
2017-10-09 23:10:29 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-09 23:10:30 UTC/bin/sh -c ln -svT "/usr/lib/jvm/java-9-openjdk-$(dpkg --print-architecture)" /docker-java-home
2017-10-09 23:10:30 UTC/bin/sh -c #(nop) ENV JAVA_HOME=/docker-java-home
2017-10-09 23:10:30 UTC/bin/sh -c #(nop) ENV JAVA_VERSION=9-b181
2017-10-09 23:10:31 UTC/bin/sh -c #(nop) ENV JAVA_DEBIAN_VERSION=9~b181-4
2017-10-09 23:13:34 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-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.