2021-01-06 20:42:07 UTC
229 MB
/usr/java/openjdk-16
JAVA_VERSION16-ea+30
LANGC.UTF-8
PATH/usr/java/openjdk-16/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:a73adebe9317092fb1f120a1d0d21f460296e9bde7ac683fd452cfc628c528cf - 17.51% (40.1 MB)
[#001] sha256:01539a440662c3eb557891fa6a645060175a11221504049aa1b23cd50cc3f6fa - 5.53% (12.7 MB)
[#002] sha256:7a362f231ba6e3d4f7192283cb65811335fe5cb82a06caa8a7273182c294f153 - 76.96% (176 MB)
/bin/sh -c #(nop) LABEL org.opencontainers.image.authors=Oracle Linux Product Team <ol-ovm-info_ww@oracle.com> org.opencontainers.image.url=https://github.com/oracle/container-images org.opencontainers.image.source=https://github.com/oracle/container-images/tree/dist-amd64/8-slim org.opencontainers.image.vendor=Oracle America, Inc org.opencontainers.image.title=Oracle Linux 8 (slim) org.opencontainers.image.description=Oracle Linux is an open-source operating system available under the GNU General Public License (GPLv2) and is suitable for both general purpose or Oracle workloads.
2021-01-06 20:21:43 UTC/bin/sh -c #(nop) ADD file:2987f8143a9c4f758731c17e307a6c7ca9e5e1a974df3405a17d2699da7d8351 in /
2021-01-06 20:21:44 UTC/bin/sh -c #(nop) CMD ["/bin/bash"]
2021-01-06 20:39:53 UTC/bin/sh -c set -eux; microdnf install gzip tar binutils freetype fontconfig ; microdnf clean all
2021-01-06 20:39:53 UTC/bin/sh -c #(nop) ENV LANG=C.UTF-8
2021-01-06 20:41:33 UTC/bin/sh -c #(nop) ENV JAVA_HOME=/usr/java/openjdk-16
2021-01-06 20:41:33 UTC/bin/sh -c #(nop) ENV PATH=/usr/java/openjdk-16/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2021-01-06 20:41:33 UTC/bin/sh -c #(nop) ENV JAVA_VERSION=16-ea+30
2021-01-06 20:42:07 UTC/bin/sh -c set -eux; objdump="$(command -v objdump)"; arch="$(objdump --file-headers "$objdump" | awk -F '[:,]+[[:space:]]+' '$1 == "architecture" { print $2 }')"; case "$arch" in arm64 | aarch64) downloadUrl=https://download.java.net/java/early_access/jdk16/30/GPL/openjdk-16-ea+30_linux-aarch64_bin.tar.gz; downloadSha256=82cc271dfc10530a176b89f20ad2bcbc9733b78f39e3997ac54132956ce53ff1; ;; amd64 | i386:x86-64) downloadUrl=https://download.java.net/java/early_access/jdk16/30/GPL/openjdk-16-ea+30_linux-x64_bin.tar.gz; downloadSha256=01ef449013825308ac144c91fbbbadd9562b084d6e17cd8d428a088386707556; ;; *) echo >&2 "error: unsupported architecture: '$arch'"; exit 1 ;; esac; curl -fL -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; ln -sfT "$JAVA_HOME" /usr/java/default; ln -sfT "$JAVA_HOME" /usr/java/latest; for bin in "$JAVA_HOME/bin/"*; do base="$(basename "$bin")"; [ ! -e "/usr/bin/$base" ]; alternatives --install "/usr/bin/$base" "$base" "$bin" 20000; done; java -Xshare:dump; rm -rf "$JAVA_HOME/lib/security/cacerts"; ln -sT /etc/pki/ca-trust/extracted/java/cacerts "$JAVA_HOME/lib/security/cacerts"; fileEncoding="$(echo 'System.out.println(System.getProperty("file.encoding"))' | jshell -s -)"; [ "$fileEncoding" = 'UTF-8' ]; rm -rf ~/.java; javac --version; java --version
2021-01-06 20:42:07 UTC/bin/sh -c #(nop) CMD ["jshell"]
2021-01-06 21:08:14 UTC
224 MB
/usr/java/openjdk-16
JAVA_VERSION16-ea+30
LANGC.UTF-8
PATH/usr/java/openjdk-16/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:d0eecbd2c3e7306adbf5b4a0d9bebc7d266ebe78bda044d35b0994c1cf655a54 - 17.85% (40.1 MB)
[#001] sha256:e1d959bac04e84615265b829b8f4c62eddad4d65f7aabc8d560ca8430057b054 - 5.98% (13.4 MB)
[#002] sha256:b3603a6118bec8ebbcddc61419dd5fb282a3f72ebd53c626d39d2dee3c82fa78 - 76.17% (171 MB)
/bin/sh -c #(nop) LABEL org.opencontainers.image.authors=Oracle Linux Product Team <ol-ovm-info_ww@oracle.com> org.opencontainers.image.url=https://github.com/oracle/container-images org.opencontainers.image.source=https://github.com/oracle/container-images/tree/dist-arm64v8/8-slim org.opencontainers.image.vendor=Oracle America, Inc org.opencontainers.image.title=Oracle Linux 8 (slim) org.opencontainers.image.description=Oracle Linux is an open-source operating system available under the GNU General Public License (GPLv2) and is suitable for both general purpose or Oracle workloads.
2021-01-06 20:45:01 UTC/bin/sh -c #(nop) ADD file:ad2b2ddca8e17229cc8d1380ecda32c4b2c04f1e2aed8f493f745c6352b34e60 in /
2021-01-06 20:45:03 UTC/bin/sh -c #(nop) CMD ["/bin/bash"]
2021-01-06 21:04:08 UTC/bin/sh -c set -eux; microdnf install gzip tar binutils freetype fontconfig ; microdnf clean all
2021-01-06 21:04:09 UTC/bin/sh -c #(nop) ENV LANG=C.UTF-8
2021-01-06 21:07:03 UTC/bin/sh -c #(nop) ENV JAVA_HOME=/usr/java/openjdk-16
2021-01-06 21:07:04 UTC/bin/sh -c #(nop) ENV PATH=/usr/java/openjdk-16/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2021-01-06 21:07:04 UTC/bin/sh -c #(nop) ENV JAVA_VERSION=16-ea+30
2021-01-06 21:08:12 UTC/bin/sh -c set -eux; objdump="$(command -v objdump)"; arch="$(objdump --file-headers "$objdump" | awk -F '[:,]+[[:space:]]+' '$1 == "architecture" { print $2 }')"; case "$arch" in arm64 | aarch64) downloadUrl=https://download.java.net/java/early_access/jdk16/30/GPL/openjdk-16-ea+30_linux-aarch64_bin.tar.gz; downloadSha256=82cc271dfc10530a176b89f20ad2bcbc9733b78f39e3997ac54132956ce53ff1; ;; amd64 | i386:x86-64) downloadUrl=https://download.java.net/java/early_access/jdk16/30/GPL/openjdk-16-ea+30_linux-x64_bin.tar.gz; downloadSha256=01ef449013825308ac144c91fbbbadd9562b084d6e17cd8d428a088386707556; ;; *) echo >&2 "error: unsupported architecture: '$arch'"; exit 1 ;; esac; curl -fL -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; ln -sfT "$JAVA_HOME" /usr/java/default; ln -sfT "$JAVA_HOME" /usr/java/latest; for bin in "$JAVA_HOME/bin/"*; do base="$(basename "$bin")"; [ ! -e "/usr/bin/$base" ]; alternatives --install "/usr/bin/$base" "$base" "$bin" 20000; done; java -Xshare:dump; rm -rf "$JAVA_HOME/lib/security/cacerts"; ln -sT /etc/pki/ca-trust/extracted/java/cacerts "$JAVA_HOME/lib/security/cacerts"; fileEncoding="$(echo 'System.out.println(System.getProperty("file.encoding"))' | jshell -s -)"; [ "$fileEncoding" = 'UTF-8' ]; rm -rf ~/.java; javac --version; java --version
2021-01-06 21:08:14 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.