2017-07-26 06:58:12 UTC
174 MB
9~b179-2
JAVA_HOME/docker-java-home
JAVA_VERSION9-b179
LANGC.UTF-8
PATH/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:c2bd460716cd6c882cdab8e5b2ac816fca76677d5fdf3e39ea331a21056e10c5 - 13.62% (23.7 MB)
[#001] sha256:5b5e8670accb5e983c700ed7977b31893be56dbcb8e363634f0bad9c92c45abd - 0.15% (264 KB)
[#002] sha256:1043e5bfbb3df06449456bb20b50b22dae8e3e8c1cdc5162ef58089c7e28fd57 - 0.0% (214 Bytes)
[#003] sha256:ad9f0a77a00e359df1fffd36e83da50d43dd6111c7267ff81c743d37a18e42f0 - 0.0% (241 Bytes)
[#004] sha256:4b3904ba51eea7c15eb30e6c45a538985b5355dc5888eebd42b6e0a1d6d168ca - 0.0% (132 Bytes)
[#005] sha256:b23d000ced5fc361941ca0eff851433a1492a58afdf35afc4e3f86adae992741 - 86.23% (150 MB)
/bin/sh -c #(nop) ADD file:67d6d867044fe8762f4481e5d93623a7f18e70e288e0d8275f3837843f38730f in /
2017-07-24 16:52:29 UTC/bin/sh -c #(nop) CMD ["bash"]
2017-07-24 18:13:31 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-07-24 18:13:32 UTC/bin/sh -c echo 'deb http://deb.debian.org/debian experimental main' > /etc/apt/sources.list.d/experimental.list
2017-07-24 18:13:32 UTC/bin/sh -c #(nop) ENV LANG=C.UTF-8
2017-07-24 18:13:33 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-07-24 18:13:34 UTC/bin/sh -c ln -svT "/usr/lib/jvm/java-9-openjdk-$(dpkg --print-architecture)" /docker-java-home
2017-07-24 18:13:34 UTC/bin/sh -c #(nop) ENV JAVA_HOME=/docker-java-home
2017-07-24 18:13:34 UTC/bin/sh -c #(nop) ENV JAVA_VERSION=9-b179
2017-07-26 06:55:12 UTC/bin/sh -c #(nop) ENV JAVA_DEBIAN_VERSION=9~b179-2
2017-07-26 06:58:12 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.