2018-11-16 19:23:08 UTC
213 MB
10.0.2+13-2
JAVA_HOME/docker-java-home
JAVA_VERSION10.0.2
LANGC.UTF-8
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:fdd94773a9e48362892e21476e28eead609d35afebea9220515e313cc45e9b67 - 20.05% (42.7 MB)
[#001] sha256:170ebfdb451da69aec8b40173375cf38f87f1e39085d2072e246796c09c6738c - 3.0% (6.39 MB)
[#002] sha256:29e9929c695e5dc9cd495d9b50731f7cabfba0a93fbe0c8c039f86c25531c0dd - 4.09% (8.72 MB)
[#003] sha256:84c17fa2c312aed7c602f3fbed7e6305980113bf282c2498cff56339ced25f65 - 0.37% (803 KB)
[#004] sha256:8ce3e103655f07bd3ab48204c7d2fd9af93713db7d41de74f6465a873193a545 - 0.0% (239 Bytes)
[#005] sha256:7823918f962ed4d253789b76fc3a39d96c837b9ec5e488b6d65e9a1990bfef55 - 0.0% (131 Bytes)
[#006] sha256:8005de95f8e0ddad644f601c16024b4f01b6861a35ac901c054a2ca665cff057 - 72.48% (154 MB)
/bin/sh -c #(nop) ADD file:4182d54a140ffdace3af2db1d2632f4271c1b1754fbc78075c0813d49212e466 in /
2018-11-16 13:06:14 UTC/bin/sh -c #(nop) CMD ["bash"]
2018-11-16 18:14:15 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/*
2018-11-16 18:14:26 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-11-16 19:15:00 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:15:00 UTC/bin/sh -c #(nop) ENV LANG=C.UTF-8
2018-11-16 19:15:01 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:21:51 UTC/bin/sh -c ln -svT "/usr/lib/jvm/java-10-openjdk-$(dpkg --print-architecture)" /docker-java-home
2018-11-16 19:21:52 UTC/bin/sh -c #(nop) ENV JAVA_HOME=/docker-java-home
2018-11-16 19:21:53 UTC/bin/sh -c #(nop) ENV JAVA_VERSION=10.0.2
2018-11-16 19:21:53 UTC/bin/sh -c #(nop) ENV JAVA_DEBIAN_VERSION=10.0.2+13-2
2018-11-16 19:23:08 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 --no-install-recommends 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.