2019-05-08 14:12:27 UTC
79 MB
11.0.3+1-1~bpo9+1
JAVA_HOME/docker-java-home
JAVA_VERSION11.0.3
LANGC.UTF-8
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:b0727b1ec48ef8920082aec023c050c83b563ae08080d9951d68fba55934bbd6 - 23.26% (18.4 MB)
[#001] sha256:c1e4b3bd395a6982a3d52e8e2c57651fb045081876d3ca9e21f248e1d6bc74cb - 0.52% (421 KB)
[#002] sha256:6ea8b476c9632d40bd7ff2d3a0de36e86ab7e5881c8bc03d2c7350c40d35e100 - 0.0% (221 Bytes)
[#003] sha256:ac31ca1b6e9c765ee62cbc4f79d70e59f2e76c145720c49edbef30262bc46023 - 0.0% (247 Bytes)
[#004] sha256:2deb81c0363f41df04b6118ec76c8d3882d36450a5101fffbbb9320df685ac91 - 0.0% (132 Bytes)
[#005] sha256:45b740f16c9ac3925216afa2c5dac8b83e74aa00bc923d69aab3b37ec6a195c8 - 76.22% (60.2 MB)
/bin/sh -c #(nop) ADD file:7813549b5e7862c4d5ecec9e7d8da27b520dd2cc1433e66637c57bb695d4f55a in /
2019-05-08 12:03:54 UTC/bin/sh -c #(nop) CMD ["bash"]
2019-05-08 14:08: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/*
2019-05-08 14:08:39 UTC/bin/sh -c echo 'deb http://deb.debian.org/debian stretch-backports main' > /etc/apt/sources.list.d/stretch-backports.list
2019-05-08 14:08:40 UTC/bin/sh -c #(nop) ENV LANG=C.UTF-8
2019-05-08 14:08:42 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:08:43 UTC/bin/sh -c ln -svT "/usr/lib/jvm/java-11-openjdk-$(dpkg --print-architecture)" /docker-java-home
2019-05-08 14:08:44 UTC/bin/sh -c #(nop) ENV JAVA_HOME=/docker-java-home
2019-05-08 14:08:44 UTC/bin/sh -c #(nop) ENV JAVA_VERSION=11.0.3
2019-05-08 14:08:45 UTC/bin/sh -c #(nop) ENV JAVA_DEBIAN_VERSION=11.0.3+1-1~bpo9+1
2019-05-08 14:12:27 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-11-jre-headless="$JAVA_DEBIAN_VERSION" ; rm -rf /var/lib/apt/lists/*; rm -v /usr/local/bin/java; keytool -importkeystore -srckeystore /etc/ssl/certs/java/cacerts -destkeystore /etc/ssl/certs/java/cacerts.jks -deststoretype JKS -srcstorepass changeit -deststorepass changeit -noprompt; mv /etc/ssl/certs/java/cacerts.jks /etc/ssl/certs/java/cacerts; /var/lib/dpkg/info/ca-certificates-java.postinst configure; [ "$(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.