2018-04-20 12:05:14 UTC
220 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:4bebe725acb1248d8ff52284d58dd16fdca68548a367bc396431ad7bc5d34cdd - 19.08% (41.9 MB)
[#001] sha256:d0693f5a3991162a5990e13b166d617b8f1fe371f4d92a04086448d19f61284b - 3.27% (7.18 MB)
[#002] sha256:56df267e9bb7c177688d09890d4bb7057540af666c61d9a1e741b8e886ece4cb - 3.71% (8.17 MB)
[#003] sha256:b317a57a53e9c7e93d0d2e70ad0c468c7bea6d2685d7ab5392e405ac845dd138 - 0.36% (813 KB)
[#004] sha256:d9ca5b46315a89268c7f2d27c633a3acb4328d293ea86ff4d724d30bc4e50714 - 0.0% (238 Bytes)
[#005] sha256:dd23ca84f62cb6bcf8956a056e87ae7faaa3124580068bca4c474e14539f9351 - 0.0% (132 Bytes)
[#006] sha256:ea640332a839c0267df8d31330539f4fa3258f93f7f23e82f7f28114726e7a5f - 73.58% (162 MB)
/bin/sh -c #(nop) ADD file:cf4220476786ea80d7a6f84bd9dc94b6d6ac8945750c25c3bfaacd81d179ad18 in /
2018-03-14 12:30:25 UTC/bin/sh -c #(nop) CMD ["bash"]
2018-03-14 13:16:08 UTC/bin/sh -c apt-get update && apt-get install -y --no-install-recommends ca-certificates curl wget && rm -rf /var/lib/apt/lists/*
2018-03-14 13:16:20 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
2018-03-14 13:47:46 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:54:49 UTC/bin/sh -c #(nop) ENV LANG=C.UTF-8
2018-03-14 13:54:50 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:03:59 UTC/bin/sh -c ln -svT "/usr/lib/jvm/java-10-openjdk-$(dpkg --print-architecture)" /docker-java-home
2018-04-20 12:03:59 UTC/bin/sh -c #(nop) ENV JAVA_HOME=/docker-java-home
2018-04-20 12:04:00 UTC/bin/sh -c #(nop) ENV JAVA_VERSION=10-ea+46
2018-04-20 12:04:00 UTC/bin/sh -c #(nop) ENV JAVA_DEBIAN_VERSION=10~46-5
2018-04-20 12:05:14 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-jre="$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'
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.