ADD file:f7962bcea8426558f5511299e708fc6b7f7c85bd2c87cf668f4ad792bf3679df in / |
/bin/sh -c mv -f /etc/yum.repos.d/ubi.repo /tmp || : |
ADD file:5b1f650e1376d79fa3a65df4a154ea5166def95154b52c1c1097dfd8fc7d58eb in /tmp/tls-ca-bundle.pem |
ADD multi:d851b7f6b461892ebd008971ee8858113becab621ea011cd6ca3834693892de0 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/* |
ADD file:b61dc232d84be84b398c4a9d319ce263c1e698a1f3e41122b4989b26ae411742 in /root/buildinfo/content_manifests/ubi9-minimal-container-9.4-1227.1726694542.json |
ADD file:3763314761ee75f4c50d08cca38184a1368ca6d78d98ed9b3df4d4a28ce9a60f in /root/buildinfo/Dockerfile-ubi9-minimal-9.4-1227.1726694542 |
LABEL "release"="1227.1726694542" "distribution-scope"="public" "vendor"="Red Hat, Inc." "build-date"="2024-09-18T21:23:26" "architecture"="x86_64" "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" |
/bin/sh -c rm -f '/etc/yum.repos.d/odcs-3496922-3d51b.repo' '/etc/yum.repos.d/rhel-9.4-compose-34ae9.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 || : |
LABEL org.opencontainers.image.source=https://github.com/strimzi/strimzi-kafka-operator |
ARG JAVA_VERSION=17 |
ARG TARGETOS |
ARG TARGETARCH |
ARG strimzi_version |
LABEL name=base vendor=Strimzi version=0.44.0 release=0.44.0 summary=Base image of the Strimzi Kafka Operator project. description=Strimzi Kafka Operator base image, containing common utilities across all component images. |
USER root |
RUN |4 JAVA_VERSION=17 TARGETOS=linux TARGETARCH=amd64 strimzi_version=0.44.0 /bin/sh -c microdnf update -y && microdnf --setopt=install_weak_deps=0 --setopt=tsflags=nodocs install -y java-${JAVA_VERSION}-openjdk-headless openssl shadow-utils && microdnf reinstall -y tzdata && microdnf clean all -y # buildkit |
ENV JAVA_HOME=/usr/lib/jvm/jre-17 |
ENV TINI_VERSION=v0.19.0 |
ENV TINI_SHA256_AMD64=93dcc18adc78c65a028a84799ecf8ad40c936fdfc5f2a57b1acda5a8117fa82c |
ENV TINI_SHA256_ARM64=07952557df20bfd2a95f9bef198b445e006171969499a1d361bd9e6f8e5e0e81 |
ENV TINI_SHA256_PPC64LE=3f658420974768e40810001a038c29d003728c5fe86da211cff5059e48cfdfde |
ENV TINI_SHA256_S390X=931b70a182af879ca249ae9de87ef68423121b38d235c78997fafc680ceab32d |
RUN |4 JAVA_VERSION=17 TARGETOS=linux TARGETARCH=amd64 strimzi_version=0.44.0 /bin/sh -c set -ex; if [[ "${TARGETOS}/${TARGETARCH}" = "linux/ppc64le" ]]; then curl -s -L https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini-ppc64le -o /usr/bin/tini; echo "${TINI_SHA256_PPC64LE} */usr/bin/tini" | sha256sum -c; chmod +x /usr/bin/tini; elif [[ "${TARGETOS}/${TARGETARCH}" = "linux/arm64" ]]; then curl -s -L https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini-arm64 -o /usr/bin/tini; echo "${TINI_SHA256_ARM64} */usr/bin/tini" | sha256sum -c; chmod +x /usr/bin/tini; elif [[ "${TARGETOS}/${TARGETARCH}" = "linux/s390x" ]]; then curl -s -L https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini-s390x -o /usr/bin/tini; echo "${TINI_SHA256_S390X} */usr/bin/tini" | sha256sum -c; chmod +x /usr/bin/tini; else curl -s -L https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini -o /usr/bin/tini; echo "${TINI_SHA256_AMD64} */usr/bin/tini" | sha256sum -c; chmod +x /usr/bin/tini; fi # buildkit |
LABEL org.opencontainers.image.source=https://github.com/strimzi/strimzi-kafka-operator |
ARG KAFKA_DIST_DIR |
ARG KAFKA_VERSION |
ARG THIRD_PARTY_LIBS |
ARG strimzi_version |
ARG TARGETOS |
ARG TARGETARCH |
LABEL name=kafka version=0.44.0-3.7.0 release=0.44.0 summary=Kafka 3.7.0 image of the Strimzi Kafka Operator project. description=Kafka image used by the Strimzi Kafka Operator to run Kafka 3.7.0 clusters. |
RUN |6 KAFKA_DIST_DIR=./tmp/3.7.0 KAFKA_VERSION=3.7.0 THIRD_PARTY_LIBS=3.7.0 strimzi_version=0.44.0 TARGETOS=linux TARGETARCH=amd64 /bin/sh -c microdnf --setopt=install_weak_deps=0 --setopt=tsflags=nodocs install -y gettext nmap-ncat net-tools unzip hostname findutils tar && microdnf clean all -y # buildkit |
RUN |6 KAFKA_DIST_DIR=./tmp/3.7.0 KAFKA_VERSION=3.7.0 THIRD_PARTY_LIBS=3.7.0 strimzi_version=0.44.0 TARGETOS=linux TARGETARCH=amd64 /bin/sh -c useradd -r -m -u 1001 -g 0 kafka # buildkit |
ENV KAFKA_HOME=/opt/kafka |
ENV KAFKA_VERSION=3.7.0 |
ENV STRIMZI_VERSION=0.44.0 |
COPY ./tmp/3.7.0 /opt/kafka # buildkit |
COPY ./scripts/ /opt/kafka # buildkit |
RUN |6 KAFKA_DIST_DIR=./tmp/3.7.0 KAFKA_VERSION=3.7.0 THIRD_PARTY_LIBS=3.7.0 strimzi_version=0.44.0 TARGETOS=linux TARGETARCH=amd64 /bin/sh -c mkdir $KAFKA_HOME/plugins # buildkit |
ENV KAFKA_EXPORTER_HOME=/opt/kafka-exporter |
ENV KAFKA_EXPORTER_VERSION=1.8.0 |
ENV KAFKA_EXPORTER_CHECKSUM_AMD64=bb38dc2c0ce0dcbcf208beab0d75f323e05595486b43dd7d0d478c858621fec828d6070099b3972ac56b5adeaab34947ecf0947b8b3c4f6f8085af1b28043268 kafka_exporter-1.8.0.linux-amd64.tar.gz |
ENV KAFKA_EXPORTER_CHECKSUM_ARM64=d5b1a8e351c75fc1bd0b6222ce96022558e7d039b99788471ba93a3825b8afe69a9cf9d2856d871a4707ddc62f50fa29b34a9a976077c505a1c26ff22678ac41 kafka_exporter-1.8.0.linux-arm64.tar.gz |
ENV KAFKA_EXPORTER_CHECKSUM_PPC64LE=33d6a757536e09926c05ca750c36ffb7f2bf23f864c8172293d0c51ab4928f091c41216e9bfe967b3f496f338bcc3a73d1ca457fe213bc06725f566f636d6c39 kafka_exporter-1.8.0.linux-ppc64le.tar.gz |
ENV KAFKA_EXPORTER_CHECKSUM_S390X=5dc868e15971017a79576856865bdca13fc3ac638ef7802390ead7acf06e69a0f1423b439a812fb026a0fcfd9ffc2e581af2729850de3509d335b5b5dca0d869 kafka_exporter-1.8.0.linux-s390x.tar.gz |
RUN |6 KAFKA_DIST_DIR=./tmp/3.7.0 KAFKA_VERSION=3.7.0 THIRD_PARTY_LIBS=3.7.0 strimzi_version=0.44.0 TARGETOS=linux TARGETARCH=amd64 /bin/sh -c set -ex; if [[ "${TARGETOS}/${TARGETARCH}" = "linux/arm64" ]]; then curl -LO https://github.com/danielqsj/kafka_exporter/releases/download/v${KAFKA_EXPORTER_VERSION}/kafka_exporter-${KAFKA_EXPORTER_VERSION}.linux-arm64.tar.gz; echo $KAFKA_EXPORTER_CHECKSUM_ARM64 > kafka_exporter-${KAFKA_EXPORTER_VERSION}.linux-arm64.tar.gz.sha512; sha512sum --check kafka_exporter-${KAFKA_EXPORTER_VERSION}.linux-arm64.tar.gz.sha512; mkdir $KAFKA_EXPORTER_HOME; tar xvfz kafka_exporter-${KAFKA_EXPORTER_VERSION}.linux-arm64.tar.gz -C $KAFKA_EXPORTER_HOME --strip-components=1; rm -f kafka_exporter-${KAFKA_EXPORTER_VERSION}.linux-arm64.tar.gz*; elif [[ "${TARGETOS}/${TARGETARCH}" = "linux/ppc64le" ]]; then curl -LO https://github.com/danielqsj/kafka_exporter/releases/download/v${KAFKA_EXPORTER_VERSION}/kafka_exporter-${KAFKA_EXPORTER_VERSION}.linux-ppc64le.tar.gz; echo $KAFKA_EXPORTER_CHECKSUM_PPC64LE > kafka_exporter-${KAFKA_EXPORTER_VERSION}.linux-ppc64le.tar.gz.sha512; sha512sum --check kafka_exporter-${KAFKA_EXPORTER_VERSION}.linux-ppc64le.tar.gz.sha512; mkdir $KAFKA_EXPORTER_HOME; tar xvfz kafka_exporter-${KAFKA_EXPORTER_VERSION}.linux-ppc64le.tar.gz -C $KAFKA_EXPORTER_HOME --strip-components=1; rm -f kafka_exporter-${KAFKA_EXPORTER_VERSION}.linux-ppc64le.tar.gz*; elif [[ "${TARGETOS}/${TARGETARCH}" = "linux/s390x" ]]; then curl -LO https://github.com/danielqsj/kafka_exporter/releases/download/v${KAFKA_EXPORTER_VERSION}/kafka_exporter-${KAFKA_EXPORTER_VERSION}.linux-s390x.tar.gz; echo $KAFKA_EXPORTER_CHECKSUM_S390X > kafka_exporter-${KAFKA_EXPORTER_VERSION}.linux-s390x.tar.gz.sha512; sha512sum --check kafka_exporter-${KAFKA_EXPORTER_VERSION}.linux-s390x.tar.gz.sha512; mkdir $KAFKA_EXPORTER_HOME; tar xvfz kafka_exporter-${KAFKA_EXPORTER_VERSION}.linux-s390x.tar.gz -C $KAFKA_EXPORTER_HOME --strip-components=1; rm -f kafka_exporter-${KAFKA_EXPORTER_VERSION}.linux-s390x.tar.gz*; else curl -LO https://github.com/danielqsj/kafka_exporter/releases/download/v${KAFKA_EXPORTER_VERSION}/kafka_exporter-${KAFKA_EXPORTER_VERSION}.linux-amd64.tar.gz; echo $KAFKA_EXPORTER_CHECKSUM_AMD64 > kafka_exporter-${KAFKA_EXPORTER_VERSION}.linux-amd64.tar.gz.sha512; sha512sum --check kafka_exporter-${KAFKA_EXPORTER_VERSION}.linux-amd64.tar.gz.sha512; mkdir $KAFKA_EXPORTER_HOME; tar xvfz kafka_exporter-${KAFKA_EXPORTER_VERSION}.linux-amd64.tar.gz -C $KAFKA_EXPORTER_HOME --strip-components=1; rm -f kafka_exporter-${KAFKA_EXPORTER_VERSION}.linux-amd64.tar.gz*; fi # buildkit |
COPY ./exporter-scripts /opt/kafka-exporter # buildkit |
COPY ./tmp/kafka-agent-0.44.0.jar /opt/kafka/libs/ # buildkit |
COPY ./tmp/mirror-maker-agent-0.44.0.jar /opt/kafka/libs/ # buildkit |
COPY ./tmp/tracing-agent-0.44.0.jar /opt/kafka/libs/ # buildkit |
COPY tmp/thirdparty-libs-3.7.0/ /opt/kafka/libs/ # buildkit |
ENV CRUISE_CONTROL_HOME=/opt/cruise-control |
RUN |6 KAFKA_DIST_DIR=./tmp/3.7.0 KAFKA_VERSION=3.7.0 THIRD_PARTY_LIBS=3.7.0 strimzi_version=0.44.0 TARGETOS=linux TARGETARCH=amd64 /bin/sh -c mkdir $CRUISE_CONTROL_HOME # buildkit |
COPY tmp/cc/ /opt/cruise-control/libs/ # buildkit |
COPY ./cruise-control-scripts /opt/cruise-control # buildkit |
WORKDIR /opt/kafka |
USER 1001 |
USER root:root |
COPY /usr/share/confluent-hub-components/ /opt/kafka/plugins/kafka-connect-s3/ # buildkit |