2023-01-25 18:42:33 UTC
168 MB
/opt/java/openjdk
JAVA_VERSIONjdk-19.0.2+7
LANGen_US.UTF-8
LANGUAGEen_US:en
LC_ALLen_US.UTF-8
PATH/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[#000] sha256:6717b8ec66cd6add0272c6391165585613c31314a43ff77d9751b53010e531ec - 61.35% (103 MB)
[#001] sha256:b8645b396cba126d03a6da3a8b4480c2adeaba2b834d2bf4705bf58ea486cf64 - 10.97% (18.5 MB)
[#002] sha256:360811e81aa78ee2e0e858a172cc43e07fe78759effa7d336c13de5ec7b560e5 - 27.68% (46.6 MB)
[#003] sha256:058e3f5f6d9cc469c1be2a46a6a9a74fa176e9d6cb3c4b7f6168644fb8d74978 - 0.0% (161 Bytes)
/bin/sh -c #(nop) ADD file:5b1e63a3cb041177b802b501dedcd71a86f1773ea0f69f048f2eb3901097711d in /
2022-02-14 19:39:37 UTC/bin/sh -c #(nop) LABEL org.label-schema.schema-version=1.0 org.label-schema.name=CentOS Base Image org.label-schema.vendor=CentOS org.label-schema.license=GPLv2 org.label-schema.build-date=20201113 org.opencontainers.image.title=CentOS Base Image org.opencontainers.image.vendor=CentOS org.opencontainers.image.licenses=GPL-2.0-only org.opencontainers.image.created=2020-11-13 00:00:00+00:00
2022-02-14 19:39:38 UTC/bin/sh -c #(nop) CMD ["/bin/bash"]
2022-10-26 01:09:17 UTC/bin/sh -c #(nop) ENV JAVA_HOME=/opt/java/openjdk
2022-10-26 01:09:17 UTC/bin/sh -c #(nop) ENV PATH=/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2022-10-26 01:09:17 UTC/bin/sh -c #(nop) ENV LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8
2022-10-26 01:12:51 UTC/bin/sh -c yum install -y tzdata openssl curl wget ca-certificates fontconfig gzip tar binutils && yum clean all
2023-01-25 18:41:46 UTC/bin/sh -c #(nop) ENV JAVA_VERSION=jdk-19.0.2+7
2023-01-25 18:42:32 UTC/bin/sh -c set -eux; ARCH="$(objdump="$(command -v objdump)" && objdump --file-headers "$objdump" | awk -F '[:,]+[[:space:]]+' '$1 == "architecture" { print $2 }')"; case "${ARCH}" in aarch64|arm64) ESUM='3653f9e5ad21e4744e5a655e243fba2895651029bee23f3d2366d5debc41a736'; BINARY_URL='https://github.com/adoptium/temurin19-binaries/releases/download/jdk-19.0.2%2B7/OpenJDK19U-jre_aarch64_linux_hotspot_19.0.2_7.tar.gz'; ;; ppc64el|powerpc:common64) ESUM='a30203431c7c21602227d39368c5af6e7abd19000d6da5562de7f3f5c57cbad5'; BINARY_URL='https://github.com/adoptium/temurin19-binaries/releases/download/jdk-19.0.2%2B7/OpenJDK19U-jre_ppc64le_linux_hotspot_19.0.2_7.tar.gz'; ;; amd64|i386:x86-64) ESUM='7386e10c74f00a4382be0540bc0494854804ad79427d8a50ac77a4c7208ff348'; BINARY_URL='https://github.com/adoptium/temurin19-binaries/releases/download/jdk-19.0.2%2B7/OpenJDK19U-jre_x64_linux_hotspot_19.0.2_7.tar.gz'; ;; *) echo "Unsupported arch: ${ARCH}"; exit 1; ;; esac; wget -O /tmp/openjdk.tar.gz ${BINARY_URL}; echo "${ESUM} */tmp/openjdk.tar.gz" | sha256sum -c -; mkdir -p "$JAVA_HOME"; tar --extract --file /tmp/openjdk.tar.gz --directory "$JAVA_HOME" --strip-components 1 --no-same-owner ; rm -f /tmp/openjdk.tar.gz ${JAVA_HOME}/src.zip;
2023-01-25 18:42:33 UTC/bin/sh -c echo Verifying install ... && fileEncoding="$(echo 'System.out.println(System.getProperty("file.encoding"))' | jshell -s -)"; [ "$fileEncoding" = 'UTF-8' ]; rm -rf ~/.java && echo java --version && java --version && echo Complete.
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.