2026-08-21 15:12:19 UTC
1.47 GB
/opt/hadoop
HIVE_HOME/opt/hive
HIVE_VER4.2.1
JAVA_HOME/opt/java/openjdk
JAVA_VERSIONjdk-21.0.11+10
LANGen_US.UTF-8
LANGUAGEen_US:en
LC_ALLen_US.UTF-8
PATH/opt/hive/bin:/opt/hadoop/bin:/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
TEZ_HOME/opt/tez
containeroci
[#000] sha256:c282501e7b1aa336a39e8eb09b91d97b94921c378c6a6fbfe7b56d2db572c305 - 2.58% (38.8 MB)
[#001] sha256:ac62b95da296463877ed54363a370f767c64a4864a0c749a5c9121bdb5d909b8 - 1.75% (26.4 MB)
[#002] sha256:ccbdf5e5c1c5c6dc6de50b3a2d047f67357b18d1bfcaa1db37816f42cf16ebed - 10.03% (151 MB)
[#003] sha256:8d0fdb2d91332e3b8e1d0b3b65978437e0f1ba5b78493f867953dd03b52263b0 - 0.0% (129 Bytes)
[#004] sha256:bef1a10833d453f203d5c37449416e398b3b5eab450486974a080f393228b955 - 0.0% (2.24 KB)
[#005] sha256:236e4a37430d36240127a7e67c4f64619dce72fc0917ce79d48d53be37e987f0 - 0.32% (4.77 MB)
[#006] sha256:9fef28efe7d3472d2989072f7730d518b967e71806abb25679c6076b9a311156 - 56.04% (842 MB)
[#007] sha256:44d016c27ee802b41e6aba0bdd0c3426494b69fded27767f244cb1a7e7c1981e - 27.9% (419 MB)
[#008] sha256:57a38a33c2a33b516f5938744997bd82a2cd83b6e11ad600a008dec041810636 - 1.37% (20.7 MB)
[#009] sha256:5f1116533379480c13c43d12530e3cc68894af777605cfcd43d8537e9894ca44 - 0.0% (130 Bytes)
[#010] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)
[#011] sha256:9c040fbde077896d7ef483b729fd2ab9cd7fd63a2ab32df4806debee4311f4dc - 0.0% (3.21 KB)
[#012] sha256:7d8e2a8983946dbc50daff5e0bfe0d79882c94a3f5240b67164fb7c285a10e7b - 0.0% (3.04 KB)
[#013] sha256:7b8c601c2b15e683bce70c842bc3940c02ed93de6faec0e533a7f754e753daa3 - 0.0% (3.38 KB)
[#014] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)
/bin/sh -c #(nop) LABEL maintainer="Red Hat, Inc."
2026-08-17 17:27:15 UTC/bin/sh -c #(nop) LABEL vendor="Red Hat, Inc."
2026-08-17 17:27:15 UTC/bin/sh -c #(nop) LABEL url="https://catalog.redhat.com/en/search?searchType=containers"
2026-08-17 17:27:15 UTC/bin/sh -c #(nop) LABEL com.redhat.component="ubi9-minimal-container" name="ubi9/ubi-minimal" version="9.8" cpe="cpe:/a:redhat:enterprise_linux:9::appstream" distribution-scope="public"
2026-08-17 17:27:15 UTC/bin/sh -c #(nop) LABEL com.redhat.license_terms="https://www.redhat.com/en/about/red-hat-end-user-license-agreements#UBI"
2026-08-17 17:27:15 UTC/bin/sh -c #(nop) LABEL summary="Provides the latest release of the minimal Red Hat Universal Base Image 9."
2026-08-17 17:27:15 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."
2026-08-17 17:27:15 UTC/bin/sh -c #(nop) LABEL 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."
2026-08-17 17:27:15 UTC/bin/sh -c #(nop) LABEL io.k8s.display-name="Red Hat Universal Base Image 9 Minimal"
2026-08-17 17:27:15 UTC/bin/sh -c #(nop) LABEL io.openshift.expose-services=""
2026-08-17 17:27:15 UTC/bin/sh -c #(nop) LABEL io.openshift.tags="minimal rhel9"
2026-08-17 17:27:15 UTC/bin/sh -c #(nop) ENV container oci
2026-08-17 17:27:16 UTC/bin/sh -c #(nop) COPY dir:975e595a9e6cbbfee7f07eb5443a58fb81eff06cafb12ae4f0e1422e8692c141 in /
2026-08-17 17:27:16 UTC/bin/sh -c #(nop) COPY file:1376702515d596f414e3aa494e0daa6d408a6d2475c4aeca96bf9392f5287f69 in /etc/yum.repos.d/.
2026-08-17 17:27:16 UTC/bin/sh -c #(nop) CMD ["/bin/bash"]
2026-08-17 17:27:16 UTC/bin/sh -c #(nop) COPY dir:65a3d9e22af3e56e090455b33d2c3174efac94e4f8a1283201a9e46186020641 in /usr/share/buildinfo/
2026-08-17 17:27:16 UTC/bin/sh -c #(nop) COPY dir:65a3d9e22af3e56e090455b33d2c3174efac94e4f8a1283201a9e46186020641 in /root/buildinfo/
2026-08-17 17:27:16 UTC/bin/sh -c #(nop) LABEL "org.opencontainers.image.created"="2026-08-17T17:26:46Z" "org.opencontainers.image.revision"="6bb838e7904a1c68094d157a898fff623ad3fcb9" "build-date"="2026-08-17T17:26:46Z" "architecture"="x86_64" "vcs-ref"="6bb838e7904a1c68094d157a898fff623ad3fcb9" "vcs-type"="git" "release"="1786987521"org.opencontainers.image.created=2026-08-17T17:26:46Z,org.opencontainers.image.revision=6bb838e7904a1c68094d157a898fff623ad3fcb9
2026-08-17 22:38:02 UTC (buildkit.dockerfile.v0)ENV JAVA_HOME=/opt/java/openjdk
2026-08-17 22:38:02 UTC (buildkit.dockerfile.v0)ENV PATH=/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2026-08-17 22:38:02 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8
2026-08-17 22:38:02 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; microdnf install -y gzip tar binutils tzdata wget ca-certificates openssl fontconfig glibc-langpack-en ; microdnf clean all # buildkit
2026-08-17 22:38:02 UTC (buildkit.dockerfile.v0)ENV JAVA_VERSION=jdk-21.0.11+10
2026-08-17 22:38:09 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; ARCH="$(rpm --query --queryformat='%{ARCH}' rpm)"; case "${ARCH}" in aarch64) ESUM='8d498ec88e1c1989fab95c6784240ab92d011e29c54d20a3f9c324b13476f9ad'; BINARY_URL='https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.11%2B10/OpenJDK21U-jdk_aarch64_linux_hotspot_21.0.11_10.tar.gz'; ;; ppc64le) ESUM='3d043ae96d2343962bf2307d8c55f19849fbfa4c6be9fe164a77d79263f0d989'; BINARY_URL='https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.11%2B10/OpenJDK21U-jdk_ppc64le_linux_hotspot_21.0.11_10.tar.gz'; ;; s390x) ESUM='14dbe3cb226e64b945a36bea32686e8deec746504fe3ccee8de585c54af41ffd'; BINARY_URL='https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.11%2B10/OpenJDK21U-jdk_s390x_linux_hotspot_21.0.11_10.tar.gz'; ;; x86_64) ESUM='4b2220e232a97997b436ca6ab15cbf70171ecff52958a46159dfa5a8c44ca4de'; BINARY_URL='https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.11%2B10/OpenJDK21U-jdk_x64_linux_hotspot_21.0.11_10.tar.gz'; ;; *) echo "Unsupported arch: ${ARCH}"; exit 1; ;; esac; wget --progress=dot:giga -O /tmp/openjdk.tar.gz ${BINARY_URL}; wget --progress=dot:giga -O /tmp/openjdk.tar.gz.sig ${BINARY_URL}.sig; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver keyserver.ubuntu.com --recv-keys 3B04D753C9050D9A5D343F39843C48A565F8F04B; gpg --batch --verify /tmp/openjdk.tar.gz.sig /tmp/openjdk.tar.gz; rm -rf "${GNUPGHOME}" /tmp/openjdk.tar.gz.sig; 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
2026-08-17 22:38:11 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; echo "Verifying install ..."; fileEncoding="$(echo 'System.out.println(System.getProperty("file.encoding"))' | jshell -s -)"; [ "$fileEncoding" = 'UTF-8' ]; rm -rf ~/.java; echo "javac --version"; javac --version; echo "java --version"; java --version; echo "Complete." # buildkit
2026-08-17 22:38:11 UTC (buildkit.dockerfile.v0)COPY --chmod=755 entrypoint.sh /__cacert_entrypoint.sh # buildkit
2026-08-17 22:38:11 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["/__cacert_entrypoint.sh"]
2026-08-17 22:38:11 UTC (buildkit.dockerfile.v0)CMD ["jshell"]
2026-08-21 15:08:40 UTC (buildkit.dockerfile.v0)ARG UID=1000
2026-08-21 15:08:40 UTC (buildkit.dockerfile.v0)ARG HADOOP_VERSION=3.4.1
2026-08-21 15:08:40 UTC (buildkit.dockerfile.v0)ARG HIVE_VERSION=4.2.1
2026-08-21 15:08:40 UTC (buildkit.dockerfile.v0)ARG TEZ_VERSION=0.10.5
2026-08-21 15:08:40 UTC (buildkit.dockerfile.v0)ARG TEZ_SNAPSHOT_VERSION=
2026-08-21 15:08:40 UTC (buildkit.dockerfile.v0)ARG TEZ_SNAPSHOT_REPO_URL=https://repository.apache.org/content/repositories/snapshots
2026-08-21 15:08:40 UTC (buildkit.dockerfile.v0)RUN |6 UID=1000 HADOOP_VERSION=3.4.1 HIVE_VERSION=4.2.1 TEZ_VERSION=0.10.5 TEZ_SNAPSHOT_VERSION= TEZ_SNAPSHOT_REPO_URL=https://repository.apache.org/content/repositories/snapshots /bin/sh -c set -ex; microdnf update -y; microdnf -y install procps gettext wget xmlstarlet; microdnf clean all; useradd --no-create-home -s /sbin/nologin -c "" --uid $UID hive # buildkit
2026-08-21 15:08:40 UTC (buildkit.dockerfile.v0)ENV HADOOP_HOME=/opt/hadoop HIVE_HOME=/opt/hive TEZ_HOME=/opt/tez HIVE_VER=4.2.1
2026-08-21 15:08:40 UTC (buildkit.dockerfile.v0)ENV PATH=/opt/hive/bin:/opt/hadoop/bin:/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2026-08-21 15:12:17 UTC (buildkit.dockerfile.v0)COPY --chown=hive /opt/hadoop-3.4.1 /opt/hadoop # buildkit
2026-08-21 15:12:18 UTC (buildkit.dockerfile.v0)COPY --chown=hive /opt/apache-hive-4.2.1-bin /opt/hive # buildkit
2026-08-21 15:12:19 UTC (buildkit.dockerfile.v0)COPY --chown=hive /opt/apache-tez-0.10.5-bin /opt/tez # buildkit
2026-08-21 15:12:19 UTC (buildkit.dockerfile.v0)COPY --chown=hive /opt/tez-snapshot /opt/tez-snapshot # buildkit
2026-08-21 15:12:19 UTC (buildkit.dockerfile.v0)RUN |6 UID=1000 HADOOP_VERSION=3.4.1 HIVE_VERSION=4.2.1 TEZ_VERSION=0.10.5 TEZ_SNAPSHOT_VERSION= TEZ_SNAPSHOT_REPO_URL=https://repository.apache.org/content/repositories/snapshots /bin/sh -c set -eux; mkdir -p /opt/tez-snapshot-download; if [[ -n "${TEZ_SNAPSHOT_VERSION}" ]]; then base_url="${TEZ_SNAPSHOT_REPO_URL}/org/apache/tez"; for artifact in tez-common tez-api tez-dag tez-mapreduce tez-runtime-internals tez-runtime-library; do version_url="${base_url}/${artifact}/${TEZ_SNAPSHOT_VERSION}"; metadata_url="${version_url}/maven-metadata.xml"; metadata_file="/opt/tez-snapshot-download/${artifact}-maven-metadata.xml"; echo "metadata_url=${metadata_url}"; wget -q "${metadata_url}" -O "${metadata_file}"; snapshot_value="$(xmlstarlet sel -t -v "string(/metadata/versioning/snapshotVersions/snapshotVersion[extension='jar' and not(classifier)]/value)" "${metadata_file}")"; test -n "${snapshot_value}"; jar_file="${artifact}-${snapshot_value}.jar"; jar_url="${version_url}/${jar_file}"; echo "jar_url=${jar_url}"; wget -q "${jar_url}" -O "/opt/tez-snapshot/${jar_file}"; done; echo "Downloaded Tez snapshot jars under /opt/tez-snapshot:"; ls -1 /opt/tez-snapshot/*.jar; else echo "TEZ_SNAPSHOT_VERSION not set. Skipping Tez snapshot download."; fi; rm -rf /opt/tez-snapshot-download # buildkit
2026-08-21 15:12:19 UTC (buildkit.dockerfile.v0)COPY --chown=hive entrypoint.sh / # buildkit
2026-08-21 15:12:19 UTC (buildkit.dockerfile.v0)COPY --chown=hive conf /opt/hive/conf # buildkit
2026-08-21 15:12:19 UTC (buildkit.dockerfile.v0)RUN |6 UID=1000 HADOOP_VERSION=3.4.1 HIVE_VERSION=4.2.1 TEZ_VERSION=0.10.5 TEZ_SNAPSHOT_VERSION= TEZ_SNAPSHOT_REPO_URL=https://repository.apache.org/content/repositories/snapshots /bin/sh -c chmod +x /entrypoint.sh && mkdir -p $HIVE_HOME/data/warehouse && chown hive $HIVE_HOME/data/warehouse && mkdir -p $HIVE_HOME/scratch && chown hive $HIVE_HOME/scratch && mkdir -p /home/hive/.beeline && chown hive /home/hive/.beeline && chown -R hive /opt/tez-snapshot # buildkit
2026-08-21 15:12:19 UTC (buildkit.dockerfile.v0)USER hive
2026-08-21 15:12:19 UTC (buildkit.dockerfile.v0)WORKDIR /opt/hive
2026-08-21 15:12:19 UTC (buildkit.dockerfile.v0)EXPOSE [10000/tcp 10002/tcp 9083/tcp]
2026-08-21 15:12:19 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["sh" "-c" "/entrypoint.sh"]
2026-08-21 16:05:12 UTC
1.47 GB
/opt/hadoop
HIVE_HOME/opt/hive
HIVE_VER4.2.1
JAVA_HOME/opt/java/openjdk
JAVA_VERSIONjdk-21.0.11+10
LANGen_US.UTF-8
LANGUAGEen_US:en
LC_ALLen_US.UTF-8
PATH/opt/hive/bin:/opt/hadoop/bin:/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
TEZ_HOME/opt/tez
containeroci
[#000] sha256:210b7d6959bf1413d4a100e480de134d4278c3fb9c1808fc5395449f4bd1229f - 2.47% (37 MB)
[#001] sha256:9d3fa768dedc03c763f9a938eab5c6d8bd57120f345f6581b7c0776b1b4fcb5c - 1.79% (26.8 MB)
[#002] sha256:c1e918c05a8efe24164339a749b7dad4431c907a8bad8cf75bcb9e49d0b2aca2 - 9.95% (149 MB)
[#003] sha256:7dd11ec9c741ece970f8f7b44662d443c1de659512031d2171977e4422af65ba - 0.0% (129 Bytes)
[#004] sha256:477150afceb5af429a680ad67957e997300877665cd0e731754c90831e799782 - 0.0% (2.24 KB)
[#005] sha256:1420a9e8386ef0d70659e9157c5cda0b1af1da418c591fbf96d93f2a54491639 - 0.32% (4.76 MB)
[#006] sha256:43a0a86e62141fb6044a3e0498d2d4da62e210e2cd9b7b63d9e7b3f7fe2aaafb - 56.15% (842 MB)
[#007] sha256:38c55cbae34db1c188194d4f6677425f57d45111d1ba865a85e83efe0f6f6e6a - 27.96% (419 MB)
[#008] sha256:4726d76955c321d4769c990819037914107bb6502d53b50f0e6f65dbf9300dbd - 1.38% (20.7 MB)
[#009] sha256:cd1a7cb05613cd097305cbff58051708bbb86a40c43c9dca78b4897dc7fca01f - 0.0% (130 Bytes)
[#010] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)
[#011] sha256:9c040fbde077896d7ef483b729fd2ab9cd7fd63a2ab32df4806debee4311f4dc - 0.0% (3.21 KB)
[#012] sha256:9a66c36e16dab97c6999e47e9d49144188b3867c1af04695d4009262b1fe9dd6 - 0.0% (3.05 KB)
[#013] sha256:f872617696217a53cf5c24197847d662ae3e11acf0399080c4b343265a4d249e - 0.0% (3.39 KB)
[#014] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)
/bin/sh -c #(nop) LABEL maintainer="Red Hat, Inc."
2026-08-17 17:29:38 UTC/bin/sh -c #(nop) LABEL vendor="Red Hat, Inc."
2026-08-17 17:29:38 UTC/bin/sh -c #(nop) LABEL url="https://catalog.redhat.com/en/search?searchType=containers"
2026-08-17 17:29:38 UTC/bin/sh -c #(nop) LABEL com.redhat.component="ubi9-minimal-container" name="ubi9/ubi-minimal" version="9.8" cpe="cpe:/a:redhat:enterprise_linux:9::appstream" distribution-scope="public"
2026-08-17 17:29:38 UTC/bin/sh -c #(nop) LABEL com.redhat.license_terms="https://www.redhat.com/en/about/red-hat-end-user-license-agreements#UBI"
2026-08-17 17:29:38 UTC/bin/sh -c #(nop) LABEL summary="Provides the latest release of the minimal Red Hat Universal Base Image 9."
2026-08-17 17:29:38 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."
2026-08-17 17:29:38 UTC/bin/sh -c #(nop) LABEL 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."
2026-08-17 17:29:38 UTC/bin/sh -c #(nop) LABEL io.k8s.display-name="Red Hat Universal Base Image 9 Minimal"
2026-08-17 17:29:38 UTC/bin/sh -c #(nop) LABEL io.openshift.expose-services=""
2026-08-17 17:29:38 UTC/bin/sh -c #(nop) LABEL io.openshift.tags="minimal rhel9"
2026-08-17 17:29:38 UTC/bin/sh -c #(nop) ENV container oci
2026-08-17 17:29:39 UTC/bin/sh -c #(nop) COPY dir:bc0c34c3de4568914cc6d0ce9e475804776b9932a837352e0a0b8eaeec65f0ab in /
2026-08-17 17:29:39 UTC/bin/sh -c #(nop) COPY file:1376702515d596f414e3aa494e0daa6d408a6d2475c4aeca96bf9392f5287f69 in /etc/yum.repos.d/.
2026-08-17 17:29:39 UTC/bin/sh -c #(nop) CMD ["/bin/bash"]
2026-08-17 17:29:39 UTC/bin/sh -c #(nop) COPY dir:75017821d3d7ffd12376ef094bfe2a63592d7cc455658a85911fc189573e02d7 in /usr/share/buildinfo/
2026-08-17 17:29:39 UTC/bin/sh -c #(nop) COPY dir:75017821d3d7ffd12376ef094bfe2a63592d7cc455658a85911fc189573e02d7 in /root/buildinfo/
2026-08-17 17:29:40 UTC/bin/sh -c #(nop) LABEL "org.opencontainers.image.created"="2026-08-17T17:29:16Z" "org.opencontainers.image.revision"="6bb838e7904a1c68094d157a898fff623ad3fcb9" "build-date"="2026-08-17T17:29:16Z" "architecture"="aarch64" "vcs-ref"="6bb838e7904a1c68094d157a898fff623ad3fcb9" "vcs-type"="git" "release"="1786987521"org.opencontainers.image.created=2026-08-17T17:29:16Z,org.opencontainers.image.revision=6bb838e7904a1c68094d157a898fff623ad3fcb9
2026-08-17 22:36:52 UTC (buildkit.dockerfile.v0)ENV JAVA_HOME=/opt/java/openjdk
2026-08-17 22:36:52 UTC (buildkit.dockerfile.v0)ENV PATH=/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2026-08-17 22:36:52 UTC (buildkit.dockerfile.v0)ENV LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8
2026-08-17 22:36:52 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; microdnf install -y gzip tar binutils tzdata wget ca-certificates openssl fontconfig glibc-langpack-en ; microdnf clean all # buildkit
2026-08-17 22:36:52 UTC (buildkit.dockerfile.v0)ENV JAVA_VERSION=jdk-21.0.11+10
2026-08-17 22:37:20 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; ARCH="$(rpm --query --queryformat='%{ARCH}' rpm)"; case "${ARCH}" in aarch64) ESUM='8d498ec88e1c1989fab95c6784240ab92d011e29c54d20a3f9c324b13476f9ad'; BINARY_URL='https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.11%2B10/OpenJDK21U-jdk_aarch64_linux_hotspot_21.0.11_10.tar.gz'; ;; ppc64le) ESUM='3d043ae96d2343962bf2307d8c55f19849fbfa4c6be9fe164a77d79263f0d989'; BINARY_URL='https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.11%2B10/OpenJDK21U-jdk_ppc64le_linux_hotspot_21.0.11_10.tar.gz'; ;; s390x) ESUM='14dbe3cb226e64b945a36bea32686e8deec746504fe3ccee8de585c54af41ffd'; BINARY_URL='https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.11%2B10/OpenJDK21U-jdk_s390x_linux_hotspot_21.0.11_10.tar.gz'; ;; x86_64) ESUM='4b2220e232a97997b436ca6ab15cbf70171ecff52958a46159dfa5a8c44ca4de'; BINARY_URL='https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.11%2B10/OpenJDK21U-jdk_x64_linux_hotspot_21.0.11_10.tar.gz'; ;; *) echo "Unsupported arch: ${ARCH}"; exit 1; ;; esac; wget --progress=dot:giga -O /tmp/openjdk.tar.gz ${BINARY_URL}; wget --progress=dot:giga -O /tmp/openjdk.tar.gz.sig ${BINARY_URL}.sig; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver keyserver.ubuntu.com --recv-keys 3B04D753C9050D9A5D343F39843C48A565F8F04B; gpg --batch --verify /tmp/openjdk.tar.gz.sig /tmp/openjdk.tar.gz; rm -rf "${GNUPGHOME}" /tmp/openjdk.tar.gz.sig; 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
2026-08-17 22:37:22 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; echo "Verifying install ..."; fileEncoding="$(echo 'System.out.println(System.getProperty("file.encoding"))' | jshell -s -)"; [ "$fileEncoding" = 'UTF-8' ]; rm -rf ~/.java; echo "javac --version"; javac --version; echo "java --version"; java --version; echo "Complete." # buildkit
2026-08-17 22:37:22 UTC (buildkit.dockerfile.v0)COPY --chmod=755 entrypoint.sh /__cacert_entrypoint.sh # buildkit
2026-08-17 22:37:22 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["/__cacert_entrypoint.sh"]
2026-08-17 22:37:22 UTC (buildkit.dockerfile.v0)CMD ["jshell"]
2026-08-21 15:33:31 UTC (buildkit.dockerfile.v0)ARG UID=1000
2026-08-21 15:33:31 UTC (buildkit.dockerfile.v0)ARG HADOOP_VERSION=3.4.1
2026-08-21 15:33:31 UTC (buildkit.dockerfile.v0)ARG HIVE_VERSION=4.2.1
2026-08-21 15:33:31 UTC (buildkit.dockerfile.v0)ARG TEZ_VERSION=0.10.5
2026-08-21 15:33:31 UTC (buildkit.dockerfile.v0)ARG TEZ_SNAPSHOT_VERSION=
2026-08-21 15:33:31 UTC (buildkit.dockerfile.v0)ARG TEZ_SNAPSHOT_REPO_URL=https://repository.apache.org/content/repositories/snapshots
2026-08-21 15:33:31 UTC (buildkit.dockerfile.v0)RUN |6 UID=1000 HADOOP_VERSION=3.4.1 HIVE_VERSION=4.2.1 TEZ_VERSION=0.10.5 TEZ_SNAPSHOT_VERSION= TEZ_SNAPSHOT_REPO_URL=https://repository.apache.org/content/repositories/snapshots /bin/sh -c set -ex; microdnf update -y; microdnf -y install procps gettext wget xmlstarlet; microdnf clean all; useradd --no-create-home -s /sbin/nologin -c "" --uid $UID hive # buildkit
2026-08-21 15:33:31 UTC (buildkit.dockerfile.v0)ENV HADOOP_HOME=/opt/hadoop HIVE_HOME=/opt/hive TEZ_HOME=/opt/tez HIVE_VER=4.2.1
2026-08-21 15:33:31 UTC (buildkit.dockerfile.v0)ENV PATH=/opt/hive/bin:/opt/hadoop/bin:/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2026-08-21 16:05:10 UTC (buildkit.dockerfile.v0)COPY --chown=hive /opt/hadoop-3.4.1 /opt/hadoop # buildkit
2026-08-21 16:05:11 UTC (buildkit.dockerfile.v0)COPY --chown=hive /opt/apache-hive-4.2.1-bin /opt/hive # buildkit
2026-08-21 16:05:11 UTC (buildkit.dockerfile.v0)COPY --chown=hive /opt/apache-tez-0.10.5-bin /opt/tez # buildkit
2026-08-21 16:05:11 UTC (buildkit.dockerfile.v0)COPY --chown=hive /opt/tez-snapshot /opt/tez-snapshot # buildkit
2026-08-21 16:05:11 UTC (buildkit.dockerfile.v0)RUN |6 UID=1000 HADOOP_VERSION=3.4.1 HIVE_VERSION=4.2.1 TEZ_VERSION=0.10.5 TEZ_SNAPSHOT_VERSION= TEZ_SNAPSHOT_REPO_URL=https://repository.apache.org/content/repositories/snapshots /bin/sh -c set -eux; mkdir -p /opt/tez-snapshot-download; if [[ -n "${TEZ_SNAPSHOT_VERSION}" ]]; then base_url="${TEZ_SNAPSHOT_REPO_URL}/org/apache/tez"; for artifact in tez-common tez-api tez-dag tez-mapreduce tez-runtime-internals tez-runtime-library; do version_url="${base_url}/${artifact}/${TEZ_SNAPSHOT_VERSION}"; metadata_url="${version_url}/maven-metadata.xml"; metadata_file="/opt/tez-snapshot-download/${artifact}-maven-metadata.xml"; echo "metadata_url=${metadata_url}"; wget -q "${metadata_url}" -O "${metadata_file}"; snapshot_value="$(xmlstarlet sel -t -v "string(/metadata/versioning/snapshotVersions/snapshotVersion[extension='jar' and not(classifier)]/value)" "${metadata_file}")"; test -n "${snapshot_value}"; jar_file="${artifact}-${snapshot_value}.jar"; jar_url="${version_url}/${jar_file}"; echo "jar_url=${jar_url}"; wget -q "${jar_url}" -O "/opt/tez-snapshot/${jar_file}"; done; echo "Downloaded Tez snapshot jars under /opt/tez-snapshot:"; ls -1 /opt/tez-snapshot/*.jar; else echo "TEZ_SNAPSHOT_VERSION not set. Skipping Tez snapshot download."; fi; rm -rf /opt/tez-snapshot-download # buildkit
2026-08-21 16:05:11 UTC (buildkit.dockerfile.v0)COPY --chown=hive entrypoint.sh / # buildkit
2026-08-21 16:05:11 UTC (buildkit.dockerfile.v0)COPY --chown=hive conf /opt/hive/conf # buildkit
2026-08-21 16:05:12 UTC (buildkit.dockerfile.v0)RUN |6 UID=1000 HADOOP_VERSION=3.4.1 HIVE_VERSION=4.2.1 TEZ_VERSION=0.10.5 TEZ_SNAPSHOT_VERSION= TEZ_SNAPSHOT_REPO_URL=https://repository.apache.org/content/repositories/snapshots /bin/sh -c chmod +x /entrypoint.sh && mkdir -p $HIVE_HOME/data/warehouse && chown hive $HIVE_HOME/data/warehouse && mkdir -p $HIVE_HOME/scratch && chown hive $HIVE_HOME/scratch && mkdir -p /home/hive/.beeline && chown hive /home/hive/.beeline && chown -R hive /opt/tez-snapshot # buildkit
2026-08-21 16:05:12 UTC (buildkit.dockerfile.v0)USER hive
2026-08-21 16:05:12 UTC (buildkit.dockerfile.v0)WORKDIR /opt/hive
2026-08-21 16:05:12 UTC (buildkit.dockerfile.v0)EXPOSE [10000/tcp 10002/tcp 9083/tcp]
2026-08-21 16:05:12 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["sh" "-c" "/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.