2017-07-26 06:55:08 UTC
256 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:b5499bef70c58635bb757692533c72902e2ab8d155d0eafc76cda92862472a27 - 18.02% (46.2 MB)
[#001] sha256:f0aefbd8335b097f9758dad16852743f38a1b601f9f9d0cf4bf8b6ce09f3463e - 3.18% (8.16 MB)
[#002] sha256:0c86784c73eaf7a56381d588b8a6ea2213fa0b23467fd7e1479f9c995d7beebb - 1.65% (4.22 MB)
[#003] sha256:3308601cadb7d11e4054dedaefd3e59f08ff3bc195a5a027be7569112a9fd6c6 - 19.06% (48.9 MB)
[#004] sha256:89af2b318efbca7a65be369d55e8497d44621f717a7c2d65d3248d08fd7744d8 - 0.25% (644 KB)
[#005] sha256:d09a214cca9dc143fd9683ff5585614e97c6a8fd3762f45d9671b21acb2aff82 - 0.0% (214 Bytes)
[#006] sha256:302c8618907d1c22c9fecf462f7beb6fdfba2f60783a3ac90c3b26658ec563f6 - 0.0% (241 Bytes)
[#007] sha256:0b833e9c4d2ef1db9842a6399a18079eda8870f8afffc00c51ca381962d71189 - 0.0% (132 Bytes)
[#008] sha256:46affb52601bf2d602f49761d9a83053e62f6201fa526e2f282536e562445e39 - 57.84% (148 MB)
/bin/sh -c #(nop) ADD file:366ed17a0f83cce653d5f267000d2766de9f465b087c3c17d9c865f1ac7dc8b3 in /
2017-07-24 16:52:23 UTC/bin/sh -c #(nop) CMD ["bash"]
2017-07-24 17:26:28 UTC/bin/sh -c apt-get update && apt-get install -y --no-install-recommends ca-certificates curl wget && rm -rf /var/lib/apt/lists/*
2017-07-24 17:26:34 UTC/bin/sh -c set -ex; if ! command -v gpg > /dev/null; then apt-get update; apt-get install -y --no-install-recommends gnupg2 dirmngr ; rm -rf /var/lib/apt/lists/*; fi
2017-07-24 17:26:56 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/*
2017-07-24 18:12: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/*
2017-07-24 18:12:46 UTC/bin/sh -c echo 'deb http://deb.debian.org/debian experimental main' > /etc/apt/sources.list.d/experimental.list
2017-07-24 18:12:46 UTC/bin/sh -c #(nop) ENV LANG=C.UTF-8
2017-07-24 18:12:47 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:12:48 UTC/bin/sh -c ln -svT "/usr/lib/jvm/java-9-openjdk-$(dpkg --print-architecture)" /docker-java-home
2017-07-24 18:12:48 UTC/bin/sh -c #(nop) ENV JAVA_HOME=/docker-java-home
2017-07-24 18:12:48 UTC/bin/sh -c #(nop) ENV JAVA_VERSION=9-b179
2017-07-26 06:54:34 UTC/bin/sh -c #(nop) ENV JAVA_DEBIAN_VERSION=9~b179-2
2017-07-26 06:55:08 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-jdk-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.