2019-05-08 14:13:50 UTC
213 MB
8u212-b01-1~deb9u1
JAVA_HOME/docker-java-home
JAVA_VERSION8u212
LANGC.UTF-8
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:f2a2fd7c1ab35cd1b5ea6fcc2b801f3877852797e2698ecdb9556e0dee3accb5 - 18.82% (40.1 MB)
[#001] sha256:047df9a92c9f7376283a8d6af526f5126d95995ba48dd7de49979ef57da3e15b - 4.24% (9.05 MB)
[#002] sha256:ddeed4ac8d1e2c751afd6fd3517f1d154365467039353c377c8206fd5eb81d4b - 1.75% (3.74 MB)
[#003] sha256:f87210772c4fe4ad359fb6a7030e2675f75aeb852c8ce68def62b11c2f94e847 - 20.74% (44.2 MB)
[#004] sha256:4e71e70e8f61885caa2a04cc9ce0d37e765aee972e4eb91039016d8757e9ef1b - 0.39% (848 KB)
[#005] sha256:d9954864699b20b0c81eae542e140aeffef4b5b0558e5f8bcf0b60e4165b4ef3 - 0.0% (247 Bytes)
[#006] sha256:b16ae1064c391d1f47920fbdf148f3929f1a1d9ad561dacab954eb05d8fcb87c - 0.0% (132 Bytes)
[#007] sha256:5c98ff2719264b6b5a9981c59ca21a00709698341bf40bb62847701e4cca9f8d - 54.06% (115 MB)
/bin/sh -c #(nop) ADD file:7e8dcc40e246d53b86266855a2de8080d26e6b4ed9f594c1acc565784405735b in /
2019-05-08 12:03:27 UTC/bin/sh -c #(nop) CMD ["bash"]
2019-05-08 13:04:33 UTC/bin/sh -c apt-get update && apt-get install -y --no-install-recommends ca-certificates curl netbase wget && rm -rf /var/lib/apt/lists/*
2019-05-08 13:04:42 UTC/bin/sh -c set -ex; if ! command -v gpg > /dev/null; then apt-get update; apt-get install -y --no-install-recommends gnupg dirmngr ; rm -rf /var/lib/apt/lists/*; fi
2019-05-08 13:05:22 UTC/bin/sh -c apt-get update && apt-get install -y --no-install-recommends bzr git mercurial openssh-client subversion procps && rm -rf /var/lib/apt/lists/*
2019-05-08 14:06:23 UTC/bin/sh -c apt-get update && apt-get install -y --no-install-recommends bzip2 unzip xz-utils && rm -rf /var/lib/apt/lists/*
2019-05-08 14:12:38 UTC/bin/sh -c #(nop) ENV LANG=C.UTF-8
2019-05-08 14:12: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
2019-05-08 14:12:41 UTC/bin/sh -c ln -svT "/usr/lib/jvm/java-8-openjdk-$(dpkg --print-architecture)" /docker-java-home
2019-05-08 14:12:42 UTC/bin/sh -c #(nop) ENV JAVA_HOME=/docker-java-home
2019-05-08 14:12:43 UTC/bin/sh -c #(nop) ENV JAVA_VERSION=8u212
2019-05-08 14:12:43 UTC/bin/sh -c #(nop) ENV JAVA_DEBIAN_VERSION=8u212-b01-1~deb9u1
2019-05-08 14:13:50 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-8-jdk="$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.