2021-11-19 23:45:21 UTC
308 MB
/usr/local/openjdk-18
JAVA_VERSION18-ea+24
LANGC.UTF-8
PATH/usr/local/openjdk-18/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:1230f17f526cb07307d41462355b10488b994e8bdafe0d8f275a405fa3b33831 - 15.63% (48.1 MB)
[#001] sha256:d17d0de332ca1b34d53ca41c2b39ea52ce72f8c1e81c5200e27a8bade3e6ecbb - 2.43% (7.47 MB)
[#002] sha256:7474d56348f5333567750c1e5f06f899477fd437330627341eafa71bfa1a36ab - 3.1% (9.53 MB)
[#003] sha256:211c565de40518c5dac4498ccebbf3833fcfaa5db17d4bf94e6bef466136278b - 16.07% (49.4 MB)
[#004] sha256:40ac470b62ae01e47a534a6c4db393f282c6a587101e308f0984c957017d68a0 - 4.31% (13.3 MB)
[#005] sha256:80b36780d500c72061c8ae9706e682400c6a7f94b90e9a2d8de08993ae6f2745 - 58.46% (180 MB)
/bin/sh -c #(nop) ADD file:cb5ed7070880d4c0177fbe6dd278adb7926e38cd73e6abd582fd8d67e4bbf06c in /
2021-11-17 02:20:51 UTC/bin/sh -c #(nop) CMD ["bash"]
2021-11-17 03:15:46 UTC/bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates curl netbase wget ; rm -rf /var/lib/apt/lists/*
2021-11-17 03:15:52 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
2021-11-17 03:16:13 UTC/bin/sh -c apt-get update && apt-get install -y --no-install-recommends git mercurial openssh-client subversion procps && rm -rf /var/lib/apt/lists/*
2021-11-17 09:24:31 UTC/bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends bzip2 unzip xz-utils binutils fontconfig libfreetype6 ca-certificates p11-kit ; rm -rf /var/lib/apt/lists/*
2021-11-17 09:24:31 UTC/bin/sh -c #(nop) ENV JAVA_HOME=/usr/local/openjdk-18
2021-11-17 09:24:31 UTC/bin/sh -c #(nop) ENV PATH=/usr/local/openjdk-18/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2021-11-17 09:24:32 UTC/bin/sh -c #(nop) ENV LANG=C.UTF-8
2021-11-19 23:45:09 UTC/bin/sh -c #(nop) ENV JAVA_VERSION=18-ea+24
2021-11-19 23:45:21 UTC/bin/sh -c set -eux; arch="$(dpkg --print-architecture)"; case "$arch" in 'amd64') downloadUrl='https://download.java.net/java/early_access/jdk18/24/GPL/openjdk-18-ea+24_linux-x64_bin.tar.gz'; downloadSha256='be728d2d5f8887ffc348d5a3293938e069c24be47e082a0b61aea61ce328aa03'; ;; 'arm64') downloadUrl='https://download.java.net/java/early_access/jdk18/24/GPL/openjdk-18-ea+24_linux-aarch64_bin.tar.gz'; downloadSha256='672dcbf3233da1ea245a7991fbeee867817d7024dc5c7e1b533240e642c27626'; ;; *) echo >&2 "error: unsupported architecture: '$arch'"; exit 1 ;; esac; wget --progress=dot:giga -O openjdk.tgz "$downloadUrl"; echo "$downloadSha256 *openjdk.tgz" | sha256sum --strict --check -; mkdir -p "$JAVA_HOME"; tar --extract --file openjdk.tgz --directory "$JAVA_HOME" --strip-components 1 --no-same-owner ; rm openjdk.tgz*; { echo '#!/usr/bin/env bash'; echo 'set -Eeuo pipefail'; echo 'trust extract --overwrite --format=java-cacerts --filter=ca-anchors --purpose=server-auth "$JAVA_HOME/lib/security/cacerts"'; } > /etc/ca-certificates/update.d/docker-openjdk; chmod +x /etc/ca-certificates/update.d/docker-openjdk; /etc/ca-certificates/update.d/docker-openjdk; find "$JAVA_HOME/lib" -name '*.so' -exec dirname '{}' ';' | sort -u > /etc/ld.so.conf.d/docker-openjdk.conf; ldconfig; java -Xshare:dump; fileEncoding="$(echo 'System.out.println(System.getProperty("file.encoding"))' | jshell -s -)"; [ "$fileEncoding" = 'UTF-8' ]; rm -rf ~/.java; javac --version; java --version
2021-11-19 23:45:21 UTC/bin/sh -c #(nop) CMD ["jshell"]
2021-11-19 23:06:07 UTC
306 MB
/usr/local/openjdk-18
JAVA_VERSION18-ea+24
LANGC.UTF-8
PATH/usr/local/openjdk-18/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:626979e62c56e192812e818d52b82f063d9f9514b1b7bae14e534e4a7c98117a - 15.33% (46.9 MB)
[#001] sha256:134a528370d5dcbf5b6ba2d8c20f576504448e8f2d1debb5d2a4950a38a3ff2d - 2.4% (7.34 MB)
[#002] sha256:92e12e3364b52ad043d8e79f750863ed4ca2878c4fdf45ded974508febc55fdd - 3.04% (9.31 MB)
[#003] sha256:1a7f2500f9574b0a495bfb031c2d52e83c96dd545ef2185737f8032567e70677 - 16.25% (49.7 MB)
[#004] sha256:98f503046e2be00df8f0d5e4daaac196a90ba4745bef22676230fee8027b2fc7 - 4.57% (14 MB)
[#005] sha256:d5293c4d171606bf578638b2067574a29257fc6834de77478ef308c310555999 - 58.41% (179 MB)
/bin/sh -c #(nop) ADD file:c7e9e884b1494f96e33e9d9a892b51367af8943edb282c4101cc99ea78a7753f in /
2021-11-17 02:40:28 UTC/bin/sh -c #(nop) CMD ["bash"]
2021-11-17 13:28:09 UTC/bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates curl netbase wget ; rm -rf /var/lib/apt/lists/*
2021-11-17 13:28:15 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
2021-11-17 13:28:35 UTC/bin/sh -c apt-get update && apt-get install -y --no-install-recommends git mercurial openssh-client subversion procps && rm -rf /var/lib/apt/lists/*
2021-11-17 21:54:30 UTC/bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends bzip2 unzip xz-utils binutils fontconfig libfreetype6 ca-certificates p11-kit ; rm -rf /var/lib/apt/lists/*
2021-11-17 21:54:31 UTC/bin/sh -c #(nop) ENV JAVA_HOME=/usr/local/openjdk-18
2021-11-17 21:54:31 UTC/bin/sh -c #(nop) ENV PATH=/usr/local/openjdk-18/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2021-11-17 21:54:32 UTC/bin/sh -c #(nop) ENV LANG=C.UTF-8
2021-11-19 23:05:53 UTC/bin/sh -c #(nop) ENV JAVA_VERSION=18-ea+24
2021-11-19 23:06:06 UTC/bin/sh -c set -eux; arch="$(dpkg --print-architecture)"; case "$arch" in 'amd64') downloadUrl='https://download.java.net/java/early_access/jdk18/24/GPL/openjdk-18-ea+24_linux-x64_bin.tar.gz'; downloadSha256='be728d2d5f8887ffc348d5a3293938e069c24be47e082a0b61aea61ce328aa03'; ;; 'arm64') downloadUrl='https://download.java.net/java/early_access/jdk18/24/GPL/openjdk-18-ea+24_linux-aarch64_bin.tar.gz'; downloadSha256='672dcbf3233da1ea245a7991fbeee867817d7024dc5c7e1b533240e642c27626'; ;; *) echo >&2 "error: unsupported architecture: '$arch'"; exit 1 ;; esac; wget --progress=dot:giga -O openjdk.tgz "$downloadUrl"; echo "$downloadSha256 *openjdk.tgz" | sha256sum --strict --check -; mkdir -p "$JAVA_HOME"; tar --extract --file openjdk.tgz --directory "$JAVA_HOME" --strip-components 1 --no-same-owner ; rm openjdk.tgz*; { echo '#!/usr/bin/env bash'; echo 'set -Eeuo pipefail'; echo 'trust extract --overwrite --format=java-cacerts --filter=ca-anchors --purpose=server-auth "$JAVA_HOME/lib/security/cacerts"'; } > /etc/ca-certificates/update.d/docker-openjdk; chmod +x /etc/ca-certificates/update.d/docker-openjdk; /etc/ca-certificates/update.d/docker-openjdk; find "$JAVA_HOME/lib" -name '*.so' -exec dirname '{}' ';' | sort -u > /etc/ld.so.conf.d/docker-openjdk.conf; ldconfig; java -Xshare:dump; fileEncoding="$(echo 'System.out.println(System.getProperty("file.encoding"))' | jshell -s -)"; [ "$fileEncoding" = 'UTF-8' ]; rm -rf ~/.java; javac --version; java --version
2021-11-19 23:06:07 UTC/bin/sh -c #(nop) CMD ["jshell"]
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.