hive (4.2.0)
Published 2026-09-02 00:52:46 +08:00 by azwan
Installation
docker pull git.abyres.net/elixier/hive:4.2.0sha256:958ceed13d0b8b22e24853060e5ac48b1528674b1cdda7f4861a3f3bc7142dc3
Image Layers
| ADD file:0177c7dc75a5666fd7d839eb5a0fe92cceec6ce76ec113c5d876fdb57ce3b149 in / |
| /bin/sh -c mv -f /etc/yum.repos.d/ubi.repo /tmp || : |
| ADD file:5b1f650e1376d79fa3a65df4a154ea5166def95154b52c1c1097dfd8fc7d58eb in /tmp/tls-ca-bundle.pem |
| ADD multi:171eafe5d6538aeb2cf5cf9f6e8618f56eddbc2d8e3acf65107d17c6cc9c35de in /etc/yum.repos.d/ |
| LABEL maintainer="Red Hat, Inc." |
| LABEL com.redhat.component="ubi9-minimal-container" name="ubi9-minimal" version="9.4" |
| LABEL com.redhat.license_terms="https://www.redhat.com/en/about/red-hat-end-user-license-agreements#UBI" |
| LABEL summary="Provides the latest release of the minimal Red Hat Universal Base Image 9." |
| 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." |
| LABEL io.k8s.display-name="Red Hat Universal Base Image 9 Minimal" |
| LABEL io.openshift.expose-services="" |
| LABEL io.openshift.tags="minimal rhel9" |
| ENV container oci |
| ENV PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
| CMD ["/bin/bash"] |
| /bin/sh -c rm -rf /var/log/* |
| LABEL release=1134 |
| ADD file:4163a5d830cc37221be507fb49bdb623672e7a59ca81defe42fc0122ff2067cc in /root/buildinfo/content_manifests/ubi9-minimal-container-9.4-1134.json |
| ADD file:0394409f6db7784d16a6bf3439e7470dbb324dc30ed9d4c8db797157e4501a3f in /root/buildinfo/Dockerfile-ubi9-minimal-9.4-1134 |
| LABEL "distribution-scope"="public" "vendor"="Red Hat, Inc." "build-date"="2024-06-06T00:53:59" "architecture"="x86_64" "vcs-type"="git" "vcs-ref"="4b4efbdd5a311b6a9c56319e756ca58c10a2b4de" "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-1134" |
| /bin/sh -c rm -f '/etc/yum.repos.d/repo-d5140.repo' '/etc/yum.repos.d/repo-4f47a.repo' |
| /bin/sh -c rm -f /tmp/tls-ca-bundle.pem |
| /bin/sh -c mv -fZ /tmp/ubi.repo /etc/yum.repos.d/ubi.repo || : |
| ENV JAVA_HOME=/opt/java/openjdk |
| ENV PATH=/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
| ENV LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8 |
| RUN /bin/sh -c set -eux; microdnf install -y gzip tar binutils tzdata wget ca-certificates fontconfig glibc-langpack-en ; microdnf clean all # buildkit |
| ENV JAVA_VERSION=jdk-21.0.3+9 |
| RUN /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='c7c31bc6f5ab4c4b6f4559e11c2fa9541ae6757ab8da6dd85c29163913bd9238'; BINARY_URL='https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.3%2B9/OpenJDK21U-jre_aarch64_linux_hotspot_21.0.3_9.tar.gz'; ;; amd64|i386:x86-64) ESUM='f1af100c4afca2035f446967323230150cfe5872b5a664d98c86963e5c066e0d'; BINARY_URL='https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.3%2B9/OpenJDK21U-jre_x64_linux_hotspot_21.0.3_9.tar.gz'; ;; ppc64el|powerpc:common64) ESUM='aa628c6accc9d075b7b0f2bff6487f8ca0b8f057af31842a85fc8b363e1e10f3'; BINARY_URL='https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.3%2B9/OpenJDK21U-jre_ppc64le_linux_hotspot_21.0.3_9.tar.gz'; ;; s390x|s390:64-bit) ESUM='a60dbad08a1977269dec7782f90225107479bfc8d10d2894f437778ae2e2b737'; BINARY_URL='https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.3%2B9/OpenJDK21U-jre_s390x_linux_hotspot_21.0.3_9.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 |
| RUN /bin/sh -c set -eux; echo "Verifying install ..."; echo "java --version"; java --version; echo "Complete." # buildkit |
| COPY entrypoint.sh /__cacert_entrypoint.sh # buildkit |
| ENTRYPOINT ["/__cacert_entrypoint.sh"] |
| ARG UID=1000 |
| ARG HADOOP_VERSION=3.4.1 |
| ARG HIVE_VERSION=4.2.0 |
| ARG TEZ_VERSION=0.10.5 |
| RUN |4 UID=1000 HADOOP_VERSION=3.4.1 HIVE_VERSION=4.2.0 TEZ_VERSION=0.10.5 /bin/sh -c set -ex; microdnf update -y; microdnf -y install procps gettext; microdnf clean all; useradd --no-create-home -s /sbin/nologin -c "" --uid $UID hive # buildkit |
| ENV HADOOP_HOME=/opt/hadoop HIVE_HOME=/opt/hive TEZ_HOME=/opt/tez HIVE_VER=4.2.0 |
| ENV PATH=/opt/hive/bin:/opt/hadoop/bin:/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
| COPY --chown=hive /opt/hadoop-3.4.1 /opt/hadoop # buildkit |
| COPY --chown=hive /opt/apache-hive-4.2.0-bin /opt/hive # buildkit |
| COPY --chown=hive /opt/apache-tez-0.10.5-bin /opt/tez # buildkit |
| COPY --chown=hive entrypoint.sh / # buildkit |
| COPY --chown=hive conf /opt/hive/conf # buildkit |
| RUN |4 UID=1000 HADOOP_VERSION=3.4.1 HIVE_VERSION=4.2.0 TEZ_VERSION=0.10.5 /bin/sh -c chmod +x /entrypoint.sh && mkdir -p $HIVE_HOME/data/warehouse && chown hive $HIVE_HOME/data/warehouse && mkdir -p /home/hive/.beeline && chown hive /home/hive/.beeline # buildkit |
| USER hive |
| WORKDIR /opt/hive |
| EXPOSE [10000/tcp 10002/tcp 9083/tcp] |
| ENTRYPOINT ["sh" "-c" "/entrypoint.sh"] |
| USER root |
| RUN /bin/sh -c curl https://jdbc.postgresql.org/download/postgresql-42.7.7.jar -o /opt/hive/lib/postgresql-42.7.7.jar && chmod a+r /opt/hive/lib/postgresql-42.7.7.jar && cp /opt/hadoop/share/hadoop/tools/lib/* /opt/hive/lib/ # buildkit |
| USER hive |
Labels
| Key | Value |
|---|---|
| architecture | x86_64 |
| build-date | 2024-06-06T00:53:59 |
| com.redhat.component | ubi9-minimal-container |
| com.redhat.license_terms | https://www.redhat.com/en/about/red-hat-end-user-license-agreements#UBI |
| 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. |
| distribution-scope | public |
| io.buildah.version | 1.29.0 |
| 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. |
| io.k8s.display-name | Red Hat Universal Base Image 9 Minimal |
| io.openshift.expose-services | |
| io.openshift.tags | minimal rhel9 |
| maintainer | Red Hat, Inc. |
| name | ubi9-minimal |
| release | 1134 |
| summary | Provides the latest release of the minimal Red Hat Universal Base Image 9. |
| url | https://access.redhat.com/containers/#/registry.access.redhat.com/ubi9-minimal/images/9.4-1134 |
| vcs-ref | 4b4efbdd5a311b6a9c56319e756ca58c10a2b4de |
| vcs-type | git |
| vendor | Red Hat, Inc. |
| version | 9.4 |
Details
2026-09-02 00:52:46 +08:00
Versions (8)
View all
Container
120
OCI / Docker
linux/amd64
1.9 GiB
4.2.0
2026-09-02
4.0.1-build.3144.7a5c0770
2026-07-02
latest
2025-07-17
4.0.1-20250717.256
2025-07-17
4.0.1
2025-07-17