| 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.7" 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:5191e1ce97881b91cd281225b61de5b907dbc286c69b6681e228608a9d6bab0b in / |
| COPY file:1376702515d596f414e3aa494e0daa6d408a6d2475c4aeca96bf9392f5287f69 in /etc/yum.repos.d/. |
| CMD ["/bin/bash"] |
| COPY file:93583a9ebbaeff1e36b48820b647eea1eef523f6627dacfb0b21af79f5a41b35 in /usr/share/buildinfo/content-sets.json |
| COPY file:93583a9ebbaeff1e36b48820b647eea1eef523f6627dacfb0b21af79f5a41b35 in /root/buildinfo/content_manifests/content-sets.json |
| COPY file:22a393f43688b6747c863a4550da665d92705a5e9519cc2d1c97b9f7499127bb in /usr/share/buildinfo/labels.json |
| COPY file:22a393f43688b6747c863a4550da665d92705a5e9519cc2d1c97b9f7499127bb in /root/buildinfo/labels.json |
| LABEL "architecture"="x86_64" "vcs-type"="git" "vcs-ref"="49cc6237764cacc4684bc968dd9fc53fb8abd12c" "org.opencontainers.image.revision"="49cc6237764cacc4684bc968dd9fc53fb8abd12c" "build-date"="2026-04-13T18:26:26Z" "org.opencontainers.image.created"="2026-04-13T18:26:26Z" "release"="1776104705"org.opencontainers.image.revision=49cc6237764cacc4684bc968dd9fc53fb8abd12c,org.opencontainers.image.created=2026-04-13T18:26:26Z |
| /bin/sh -c microdnf install -y java-25-openjdk-headless shadow-utils && microdnf clean all |
| USER root |
| /bin/sh -c mkdir -p /opt/minecraft /minecraft && chown -R 185:0 /opt/minecraft /minecraft && chmod -R g+rwX /opt/minecraft /minecraft |
| ADD file:ca1d034d70455a0f842c9ae162680f5a2647d1188ef70ec59da1499f6f52b2f4 in /opt/minecraft/server.jar |
| ADD file:1edaae21bd42eb303baf377a4be724628913fde0b78c99f9ed2ec4afd124427c in /opt/minecraft/minecraft-entrypoint.sh |
| /bin/sh -c chmod a+x /opt/minecraft/minecraft-entrypoint.sh |
| USER 185 |
| ENV EULA=false |
| ENV ONLINE_MODE=true |
| ENV GAME_MODE=survival |
| ENV MOTD="A Minecraft Server" |
| WORKDIR /minecraft |
| EXPOSE 25565/TCP |
| ENTRYPOINT ["/opt/minecraft/minecraft-entrypoint.sh"] |