| LABEL maintainer="Red Hat, Inc." |
| LABEL vendor="Red Hat, Inc." |
| LABEL url="https://catalog.redhat.com/en/search?searchType=containers" |
| 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" |
| 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.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 |
| COPY dir:01535d66c659bac5dc638e334bb8c0882e8bbe4dcc144deb448bf0673973267f in / |
| COPY file:1376702515d596f414e3aa494e0daa6d408a6d2475c4aeca96bf9392f5287f69 in /etc/yum.repos.d/. |
| CMD ["/bin/bash"] |
| COPY dir:ab52b8f578b642c9cfffb8cfa8cb04095b99e8289c57b6d99f5db899ce19dbbd in /usr/share/buildinfo/ |
| COPY dir:ab52b8f578b642c9cfffb8cfa8cb04095b99e8289c57b6d99f5db899ce19dbbd in /root/buildinfo/ |
| LABEL "org.opencontainers.image.created"="2026-09-30T07:43:22Z" "org.opencontainers.image.revision"="f354e3d450169972cb1f8df64acae506d96d4c49" "build-date"="2026-09-30T07:43:22Z" "architecture"="x86_64" "vcs-ref"="f354e3d450169972cb1f8df64acae506d96d4c49" "vcs-type"="git" "release"="1790754119"org.opencontainers.image.created=2026-09-30T07:43:22Z,org.opencontainers.image.revision=f354e3d450169972cb1f8df64acae506d96d4c49 |
| USER root |
| /bin/sh -c microdnf --setopt=install_weak_deps=0 --setopt=tsflags=nodocs install -y tar gzip gcc glibc-devel zlib-devel shadow-utils unzip gcc-c++ findutils && rpm -q tar gzip gcc glibc-devel zlib-devel shadow-utils unzip gcc-c++ findutils |
| /bin/sh -c microdnf --setopt=install_weak_deps=0 --setopt=tsflags=nodocs install -y glibc-langpack-en && rpm -q glibc-langpack-en |
| ENV LANG="en_US.UTF-8" LANGUAGE="en_US:en" LC_ALL="en_US.UTF-8" |
| ENV APP_HOME="/home/quarkus" |
| /bin/sh -c groupadd -r quarkus -g 1001 && useradd -u 1001 -r -g 1001 -m -d ${APP_HOME} -s /sbin/nologin -c "Quarkus user" quarkus |
| /bin/sh -c mkdir /project |
| /bin/sh -c chown quarkus:quarkus /project |
| /bin/sh -c microdnf --setopt=install_weak_deps=0 --setopt=tsflags=nodocs install -y xz && rpm -q xz |
| ENV UPX_VERSION="5.1.0" |
| COPY file:543536597af3d732e1c59696c63e14d05b40e40437fb68e7fc13c06b4a274a24 in /tmp/upx-amd64.xz |
| /bin/sh -c tar xf /tmp/upx-amd64.xz -C /tmp && cd /tmp/upx-5.1.0-amd64_linux && mv upx /usr/bin/upx && rm -Rf /tmp/upx-amd64.xz |
| ENV JAVA_HOME="/opt/mandrel" GRAALVM_HOME="/opt/mandrel" |
| /bin/sh -c microdnf --setopt=install_weak_deps=0 --setopt=tsflags=nodocs install -y fontconfig freetype-devel && microdnf clean all && rpm -q fontconfig freetype-devel |
| COPY file:dbd62827e9ea62bfd26c33073b91832ef8aec56e8a053ce23c7fd7eac3838095 in /tmp/mandrel-java25-linux-amd64-25.0.4.1-Final.tar.gz |
| /bin/sh -c mkdir -p /opt/mandrel && tar xzf /tmp/mandrel-java25-linux-amd64-25.0.4.1-Final.tar.gz -C /opt/mandrel --strip-components=1 && rm -Rf /tmp/mandrel-java25-linux-amd64-25.0.4.1-Final.tar.gz |
| /bin/sh -c ln -s $JAVA_HOME/bin/native-image-configure /usr/bin/native-image-utils |
| ENV PATH="$PATH:$JAVA_HOME/bin" |
| LABEL io.k8s.description="Quarkus.io executable image providing the `native-image` executable." io.k8s.display-name="Quarkus.io executable (GraalVM Native, Mandrel distribution)" io.openshift.tags="executable,java,quarkus,mandrel,native" maintainer="Quarkus Team <quarkus-dev@googlegroups.com>" |
| /bin/sh -c microdnf clean all && [ ! -d /var/cache/yum ] || rm -rf /var/cache/yum |
| /bin/sh -c [ ! -d /tmp/artifacts ] || rm -rf /tmp/artifacts |
| USER 1001 |
| WORKDIR /project |
| ENTRYPOINT ["native-image"] |
| ARG MAVEN_VERSION=3.9.11 |
| USER root |
| RUN |1 MAVEN_VERSION=3.9.11 /bin/sh -c microdnf install -y git && microdnf clean all && curl -fsSL "https://archive.apache.org/dist/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.tar.gz" | tar -xz -C /opt && ln -s "/opt/apache-maven-${MAVEN_VERSION}/bin/mvn" /usr/local/bin/mvn && git config --system --add safe.directory '*' # buildkit |
| COPY --chmod=0755 plugin.sh /usr/local/bin/plugin # buildkit |
| USER 1001 |
| ENTRYPOINT ["/usr/local/bin/plugin"] |