2024-08-22 07:58:33 UTC
115 MB
/opt/java/openjdk
JAVA_VERSIONjdk-21.0.4+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
containeroci
[#000] sha256:b7ea02e7115a7f896de4b38813636b60adf943ded0dc88824bbe396f76e618a0 - 30.88% (35.6 MB)
[#001] sha256:b17c1f3d1069c55923e15f6f6cddcc3378a0c14bb4e83ccb03296abdbf5ea9f5 - 25.59% (29.5 MB)
[#002] sha256:aa70b57fd2be35fb1619c4fe99b108bf25b35cf7f1c49eca696b1d19c51ee162 - 43.53% (50.2 MB)
[#003] sha256:7a056eef862331c9572f1efa310e717a50d326193e8e6c73c586e5ad9963d933 - 0.0% (128 Bytes)
[#004] sha256:ed95ce982bdd20d92ed37ca632d06d79e54719cf31acc91a7e92adbf94380c1e - 0.0% (2.07 KB)
/bin/sh -c #(nop) ADD file:b8ad50f3d6859f84ef1f5a65e6525025d882089a4bfbfe1c1a6dcec413b08335 in /
2024-08-22 07:58:33 UTC/bin/sh -c mv -f /etc/yum.repos.d/ubi.repo /tmp || :
2024-08-22 07:58:33 UTC/bin/sh -c #(nop) ADD file:5b1f650e1376d79fa3a65df4a154ea5166def95154b52c1c1097dfd8fc7d58eb in /tmp/tls-ca-bundle.pem
2024-08-22 07:58:33 UTC/bin/sh -c #(nop) ADD multi:d851b7f6b461892ebd008971ee8858113becab621ea011cd6ca3834693892de0 in /etc/yum.repos.d/
2024-08-22 07:58:33 UTC/bin/sh -c #(nop) LABEL maintainer="Red Hat, Inc."
2024-08-22 07:58:33 UTC/bin/sh -c #(nop) LABEL com.redhat.component="ubi9-minimal-container" name="ubi9-minimal" version="9.4"
2024-08-22 07:58:33 UTC/bin/sh -c #(nop) LABEL com.redhat.license_terms="https://www.redhat.com/en/about/red-hat-end-user-license-agreements#UBI"
2024-08-22 07:58:33 UTC/bin/sh -c #(nop) LABEL summary="Provides the latest release of the minimal Red Hat Universal Base Image 9."
2024-08-22 07:58:33 UTC/bin/sh -c #(nop) LABEL description="The Universal Base Image Minimal is a stripped down image that uses microdnf as a package manager. This base image is freely redistributable, but Red Hat only supports Red Hat technologies through subscriptions for Red Hat products. This image is maintained by Red Hat and updated regularly."
2024-08-22 07:58:33 UTC/bin/sh -c #(nop) LABEL io.k8s.display-name="Red Hat Universal Base Image 9 Minimal"
2024-08-22 07:58:33 UTC/bin/sh -c #(nop) LABEL io.openshift.expose-services=""
2024-08-22 07:58:33 UTC/bin/sh -c #(nop) LABEL io.openshift.tags="minimal rhel9"
2024-08-22 07:58:33 UTC/bin/sh -c #(nop) ENV container oci
2024-08-22 07:58:33 UTC/bin/sh -c #(nop) ENV PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2024-08-22 07:58:33 UTC/bin/sh -c #(nop) CMD ["/bin/bash"]
2024-08-22 07:58:33 UTC/bin/sh -c rm -rf /var/log/*
2024-08-22 07:58:33 UTC/bin/sh -c #(nop) ADD file:1b5dd590117e3105bf4bc7bf3d14e32e15284033314e5016a8b6a569d1309f13 in /root/buildinfo/content_manifests/ubi9-minimal-container-9.4-1227.1726694542.json
2024-08-22 07:58:33 UTC/bin/sh -c #(nop) ADD file:7d839fd792e21cdd37858c3a5300c195beb3df94eded547fbd1508ef81f3a0ce in /root/buildinfo/Dockerfile-ubi9-minimal-9.4-1227.1726694542
2024-08-22 07:58:33 UTC/bin/sh -c #(nop) LABEL "release"="1227.1726694542" "distribution-scope"="public" "vendor"="Red Hat, Inc." "build-date"="2024-09-18T21:23:26" "architecture"="aarch64" "vcs-type"="git" "vcs-ref"="94baa7760359088a42ad33dc22d329a5ee2c7209" "io.k8s.description"="The Universal Base Image Minimal is a stripped down image that uses microdnf as a package manager. This base image is freely redistributable, but Red Hat only supports Red Hat technologies through subscriptions for Red Hat products. This image is maintained by Red Hat and updated regularly." "url"="https://access.redhat.com/containers/#/registry.access.redhat.com/ubi9-minimal/images/9.4-1227.1726694542"
2024-08-22 07:58:33 UTC/bin/sh -c rm -f '/etc/yum.repos.d/odcs-3496922-3d51b.repo' '/etc/yum.repos.d/rhel-9.4-compose-34ae9.repo'
2024-08-22 07:58:33 UTC/bin/sh -c rm -f /tmp/tls-ca-bundle.pem
2024-08-22 07:58:33 UTC/bin/sh -c mv -fZ /tmp/ubi.repo /etc/yum.repos.d/ubi.repo || :
2024-08-22 07:58:33 UTC (buildkit.dockerfile.v0)ENV JAVA_HOME=/opt/java/openjdk
2024-08-22 07:58:33 UTC (buildkit.dockerfile.v0)ENV PATH=/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2024-08-22 07:58:33 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8
2024-08-22 07:58:33 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; microdnf install -y gzip tar binutils tzdata wget ca-certificates fontconfig glibc-langpack-en ; microdnf clean all # buildkit
2024-08-22 07:58:33 UTC (buildkit.dockerfile.v0)ENV JAVA_VERSION=jdk-21.0.4+7
2024-08-22 07:58:33 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; ARCH="$(rpm --query --queryformat='%{ARCH}' rpm)"; case "${ARCH}" in aarch64) ESUM='58845ce4275f3ec74fba075597c8216bb201773da036c4703be8b7b7b457355d'; BINARY_URL='https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.4%2B7/OpenJDK21U-jre_aarch64_linux_hotspot_21.0.4_7.tar.gz'; ;; ppc64le) ESUM='46cf93653e2b553fb1c91760cfe2ff20999ba358d648d2df69e5948784768440'; BINARY_URL='https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.4%2B7/OpenJDK21U-jre_ppc64le_linux_hotspot_21.0.4_7.tar.gz'; ;; s390x) ESUM='7fb5b09987cb41de5118fecb5a81771b3a38a245cff411b39af33dbfbca3e760'; BINARY_URL='https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.4%2B7/OpenJDK21U-jre_s390x_linux_hotspot_21.0.4_7.tar.gz'; ;; x86_64) ESUM='d3affbb011ca6c722948f6345d15eba09bded33f9947d4d67e09723e2518c12a'; BINARY_URL='https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.4%2B7/OpenJDK21U-jre_x64_linux_hotspot_21.0.4_7.tar.gz'; ;; *) echo "Unsupported arch: ${ARCH}"; exit 1; ;; esac; wget --progress=dot:giga -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}/lib/src.zip; # buildkit
2024-08-22 07:58:33 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; echo "Verifying install ..."; echo "java --version"; java --version; echo "Complete." # buildkit
2024-08-22 07:58:33 UTC (buildkit.dockerfile.v0)COPY --chmod=755 entrypoint.sh /__cacert_entrypoint.sh # buildkit
2024-08-22 07:58:33 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["/__cacert_entrypoint.sh"]
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.