oci

itzg-mc-git-patch (sha256:61b7f9e63e2296f2a9c4de1ae4521341f0e0b94fc96deff093b571eabd4a726c)

Published 2026-06-21 00:01:13 +00:00 by merith-tk

Installation

docker pull git.merith.xyz/oci/itzg-mc-git-patch@sha256:61b7f9e63e2296f2a9c4de1ae4521341f0e0b94fc96deff093b571eabd4a726c
sha256:61b7f9e63e2296f2a9c4de1ae4521341f0e0b94fc96deff093b571eabd4a726c

About this package

Docker image that provides a Minecraft Server for Java Edition that automatically installs/upgrades versions, modloaders, modpacks and more at startup

Image layers

umoci raw add-layer --image /home/buildd/rockcraft-ubuntu-79fcbede9d5522fcffb04b46daf93b5a/images/ubuntu:rockcraft-base /home/buildd/rockcraft-ubuntu-79fcbede9d5522fcffb04b46daf93b5a/images/.temp_layer.9106.tar --tag 26.04
umoci config --image /home/buildd/rockcraft-ubuntu-79fcbede9d5522fcffb04b46daf93b5a/images/ubuntu:26.04 --clear=config.entrypoint --clear=config.cmd
umoci config --image /home/buildd/rockcraft-ubuntu-79fcbede9d5522fcffb04b46daf93b5a/images/ubuntu:26.04 --clear=config.cmd --config.cmd /bin/bash
umoci config --image /home/buildd/rockcraft-ubuntu-79fcbede9d5522fcffb04b46daf93b5a/images/ubuntu:26.04 --config.env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
umoci config --image /home/buildd/rockcraft-ubuntu-79fcbede9d5522fcffb04b46daf93b5a/images/ubuntu:26.04 --clear=config.labels --config.label org.opencontainers.image.version=26.04 --config.label org.opencontainers.image.title=ubuntu --config.label org.opencontainers.image.created=2026-06-10T03:30:57.931695+00:00 --config.label org.opencontainers.image.description=The Ubuntu container image maintained by Canonical Ubuntu is a Debian-based Linux operating system that runs from the desktop to the cloud, to all your internet connected things. It is the world's most popular operating system across public clouds and OpenStack clouds. It is the number one platform for containers; from Docker to Kubernetes to LXD, Ubuntu can run your containers at scale. Fast, secure and simple, Ubuntu powers millions of PCs worldwide.
umoci config --image /home/buildd/rockcraft-ubuntu-79fcbede9d5522fcffb04b46daf93b5a/images/ubuntu:26.04 --clear=manifest.annotations --manifest.annotation org.opencontainers.image.version=26.04 --manifest.annotation org.opencontainers.image.title=ubuntu --manifest.annotation org.opencontainers.image.created=2026-06-10T03:30:57.931695+00:00 --manifest.annotation org.opencontainers.image.description=The Ubuntu container image maintained by Canonical Ubuntu is a Debian-based Linux operating system that runs from the desktop to the cloud, to all your internet connected things. It is the world's most popular operating system across public clouds and OpenStack clouds. It is the number one platform for containers; from Docker to Kubernetes to LXD, Ubuntu can run your containers at scale. Fast, secure and simple, Ubuntu powers millions of PCs worldwide.
umoci raw add-layer --image /home/buildd/rockcraft-ubuntu-79fcbede9d5522fcffb04b46daf93b5a/images/ubuntu:26.04 /home/buildd/rockcraft-ubuntu-79fcbede9d5522fcffb04b46daf93b5a/images/.temp_layer.control_data.9106.tar
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; apt-get update; DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends curl wget gnupg fontconfig ca-certificates p11-kit tzdata locales ; echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen; locale-gen en_US.UTF-8; rm -rf /var/lib/apt/lists/* # buildkit
ENV JAVA_VERSION=jdk-21.0.11+10
RUN /bin/sh -c set -eux; ARCH="$(dpkg --print-architecture)"; case "${ARCH}" in amd64) ESUM='e5038aae3ca9ff670bc696496b0728dbd23d280026bad30291cb919221ecfdcb'; BINARY_URL='https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.11%2B10/OpenJDK21U-jre_x64_linux_hotspot_21.0.11_10.tar.gz'; ;; arm64) ESUM='fa23d9d9945053e67bcc7638410eabf1e17a7672c7c95a24f70cd08b8407d36e'; BINARY_URL='https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.11%2B10/OpenJDK21U-jre_aarch64_linux_hotspot_21.0.11_10.tar.gz'; ;; ppc64el) ESUM='fefb53c4bd687e7a91a9a9809ec80e0862e829cd20513839ad1a9988ddc89482'; BINARY_URL='https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.11%2B10/OpenJDK21U-jre_ppc64le_linux_hotspot_21.0.11_10.tar.gz'; ;; riscv64) ESUM='f3d8843c5a1b77ded3353e0df85d803d84b9faa5ece20673564e7c47fc4591d9'; BINARY_URL='https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.11%2B10/OpenJDK21U-jre_riscv64_linux_hotspot_21.0.11_10.tar.gz'; ;; s390x) ESUM='45736e9e14d52619133900a077b4f72d1ebee0fd0bb053da0bca9dce9fc4d916'; BINARY_URL='https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.11%2B10/OpenJDK21U-jre_s390x_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; find "$JAVA_HOME/lib" -name '*.so' -exec dirname '{}' ';' | sort -u > /etc/ld.so.conf.d/docker-openjdk.conf; ldconfig; java -Xshare:dump; # buildkit
RUN /bin/sh -c set -eux; echo "Verifying install ..."; echo "java --version"; java --version; echo "Complete." # buildkit
COPY --chmod=755 entrypoint.sh /__cacert_entrypoint.sh # buildkit
ENTRYPOINT ["/__cacert_entrypoint.sh"]
ARG TARGETOS=linux
ARG TARGETARCH=amd64
ARG TARGETVARIANT=
ARG EXTRA_DEB_PACKAGES=
ARG EXTRA_DNF_PACKAGES=
ARG EXTRA_ALPINE_PACKAGES=
ARG FORCE_INSTALL_PACKAGES=1
RUN |7 TARGETOS=linux TARGETARCH=amd64 TARGETVARIANT= EXTRA_DEB_PACKAGES= EXTRA_DNF_PACKAGES= EXTRA_ALPINE_PACKAGES= FORCE_INSTALL_PACKAGES=1 /bin/sh -c TARGET=${TARGETARCH}${TARGETVARIANT} /build/run.sh install-packages # buildkit
COPY /gosu /usr/local/bin/ # buildkit
RUN |7 TARGETOS=linux TARGETARCH=amd64 TARGETVARIANT= EXTRA_DEB_PACKAGES= EXTRA_DNF_PACKAGES= EXTRA_ALPINE_PACKAGES= FORCE_INSTALL_PACKAGES=1 /bin/sh -c /build/run.sh setup-user # buildkit
EXPOSE [25565/tcp]
ARG APPS_REV=1
ARG GITHUB_BASEURL=https://github.com
ARG EASY_ADD_VERSION=0.8.14
ADD https://github.com/itzg/easy-add/releases/download/0.8.14/easy-add_linux_amd64 /usr/bin/easy-add # buildkit
RUN |10 TARGETOS=linux TARGETARCH=amd64 TARGETVARIANT= EXTRA_DEB_PACKAGES= EXTRA_DNF_PACKAGES= EXTRA_ALPINE_PACKAGES= FORCE_INSTALL_PACKAGES=1 APPS_REV=1 GITHUB_BASEURL=https://github.com EASY_ADD_VERSION=0.8.14 /bin/sh -c chmod +x /usr/bin/easy-add # buildkit
ARG RESTIFY_VERSION=1.7.16
RUN |11 TARGETOS=linux TARGETARCH=amd64 TARGETVARIANT= EXTRA_DEB_PACKAGES= EXTRA_DNF_PACKAGES= EXTRA_ALPINE_PACKAGES= FORCE_INSTALL_PACKAGES=1 APPS_REV=1 GITHUB_BASEURL=https://github.com EASY_ADD_VERSION=0.8.14 RESTIFY_VERSION=1.7.16 /bin/sh -c easy-add --var os=${TARGETOS} --var arch=${TARGETARCH}${TARGETVARIANT} --var version=${RESTIFY_VERSION} --var app=restify --file {{.app}} --from ${GITHUB_BASEURL}/itzg/{{.app}}/releases/download/{{.version}}/{{.app}}_{{.version}}_{{.os}}_{{.arch}}.tar.gz # buildkit
ARG RCON_CLI_VERSION=1.7.6
RUN |12 TARGETOS=linux TARGETARCH=amd64 TARGETVARIANT= EXTRA_DEB_PACKAGES= EXTRA_DNF_PACKAGES= EXTRA_ALPINE_PACKAGES= FORCE_INSTALL_PACKAGES=1 APPS_REV=1 GITHUB_BASEURL=https://github.com EASY_ADD_VERSION=0.8.14 RESTIFY_VERSION=1.7.16 RCON_CLI_VERSION=1.7.6 /bin/sh -c easy-add --var os=${TARGETOS} --var arch=${TARGETARCH}${TARGETVARIANT} --var version=${RCON_CLI_VERSION} --var app=rcon-cli --file {{.app}} --from ${GITHUB_BASEURL}/itzg/{{.app}}/releases/download/{{.version}}/{{.app}}_{{.version}}_{{.os}}_{{.arch}}.tar.gz # buildkit
ARG MC_MONITOR_VERSION=0.16.7
RUN |13 TARGETOS=linux TARGETARCH=amd64 TARGETVARIANT= EXTRA_DEB_PACKAGES= EXTRA_DNF_PACKAGES= EXTRA_ALPINE_PACKAGES= FORCE_INSTALL_PACKAGES=1 APPS_REV=1 GITHUB_BASEURL=https://github.com EASY_ADD_VERSION=0.8.14 RESTIFY_VERSION=1.7.16 RCON_CLI_VERSION=1.7.6 MC_MONITOR_VERSION=0.16.7 /bin/sh -c easy-add --var os=${TARGETOS} --var arch=${TARGETARCH}${TARGETVARIANT} --var version=${MC_MONITOR_VERSION} --var app=mc-monitor --file {{.app}} --from ${GITHUB_BASEURL}/itzg/{{.app}}/releases/download/{{.version}}/{{.app}}_{{.version}}_{{.os}}_{{.arch}}.tar.gz # buildkit
ARG MC_SERVER_RUNNER_VERSION=1.15.0
RUN |14 TARGETOS=linux TARGETARCH=amd64 TARGETVARIANT= EXTRA_DEB_PACKAGES= EXTRA_DNF_PACKAGES= EXTRA_ALPINE_PACKAGES= FORCE_INSTALL_PACKAGES=1 APPS_REV=1 GITHUB_BASEURL=https://github.com EASY_ADD_VERSION=0.8.14 RESTIFY_VERSION=1.7.16 RCON_CLI_VERSION=1.7.6 MC_MONITOR_VERSION=0.16.7 MC_SERVER_RUNNER_VERSION=1.15.0 /bin/sh -c easy-add --var os=${TARGETOS} --var arch=${TARGETARCH}${TARGETVARIANT} --var version=${MC_SERVER_RUNNER_VERSION} --var app=mc-server-runner --file {{.app}} --from ${GITHUB_BASEURL}/itzg/{{.app}}/releases/download/{{.version}}/{{.app}}_{{.version}}_{{.os}}_{{.arch}}.tar.gz # buildkit
ARG MC_HELPER_VERSION=1.61.1
ARG MC_HELPER_BASE_URL=https://github.com/itzg/mc-image-helper/releases/download/1.61.1
ARG MC_HELPER_REV=1
RUN |17 TARGETOS=linux TARGETARCH=amd64 TARGETVARIANT= EXTRA_DEB_PACKAGES= EXTRA_DNF_PACKAGES= EXTRA_ALPINE_PACKAGES= FORCE_INSTALL_PACKAGES=1 APPS_REV=1 GITHUB_BASEURL=https://github.com EASY_ADD_VERSION=0.8.14 RESTIFY_VERSION=1.7.16 RCON_CLI_VERSION=1.7.6 MC_MONITOR_VERSION=0.16.7 MC_SERVER_RUNNER_VERSION=1.15.0 MC_HELPER_VERSION=1.61.1 MC_HELPER_BASE_URL=https://github.com/itzg/mc-image-helper/releases/download/1.61.1 MC_HELPER_REV=1 /bin/sh -c curl -fsSL ${MC_HELPER_BASE_URL}/mc-image-helper-${MC_HELPER_VERSION}.tgz | tar -C /usr/share -zxf - && ln -s /usr/share/mc-image-helper-${MC_HELPER_VERSION}/ /usr/share/mc-image-helper && ln -s /usr/share/mc-image-helper/bin/mc-image-helper /usr/bin # buildkit
VOLUME [/data]
WORKDIR /data
STOPSIGNAL SIGTERM
ENV TYPE=VANILLA VERSION=LATEST EULA= UID=1000 GID=1000 LC_ALL=en_US.UTF-8
COPY --chmod=755 scripts/start* /image/scripts/ # buildkit
COPY --chmod=755 <<EOF /start # buildkit
COPY --chmod=755 scripts/auto/* /image/scripts/auto/ # buildkit
COPY --chmod=755 scripts/shims/* /image/scripts/shims/ # buildkit
RUN |17 TARGETOS=linux TARGETARCH=amd64 TARGETVARIANT= EXTRA_DEB_PACKAGES= EXTRA_DNF_PACKAGES= EXTRA_ALPINE_PACKAGES= FORCE_INSTALL_PACKAGES=1 APPS_REV=1 GITHUB_BASEURL=https://github.com EASY_ADD_VERSION=0.8.14 RESTIFY_VERSION=1.7.16 RCON_CLI_VERSION=1.7.6 MC_MONITOR_VERSION=0.16.7 MC_SERVER_RUNNER_VERSION=1.15.0 MC_HELPER_VERSION=1.61.1 MC_HELPER_BASE_URL=https://github.com/itzg/mc-image-helper/releases/download/1.61.1 MC_HELPER_REV=1 /bin/sh -c ln -s /image/scripts/shims/* /usr/local/bin/ # buildkit
COPY --chmod=755 files/* /image/ # buildkit
RUN |17 TARGETOS=linux TARGETARCH=amd64 TARGETVARIANT= EXTRA_DEB_PACKAGES= EXTRA_DNF_PACKAGES= EXTRA_ALPINE_PACKAGES= FORCE_INSTALL_PACKAGES=1 APPS_REV=1 GITHUB_BASEURL=https://github.com EASY_ADD_VERSION=0.8.14 RESTIFY_VERSION=1.7.16 RCON_CLI_VERSION=1.7.6 MC_MONITOR_VERSION=0.16.7 MC_SERVER_RUNNER_VERSION=1.15.0 MC_HELPER_VERSION=1.61.1 MC_HELPER_BASE_URL=https://github.com/itzg/mc-image-helper/releases/download/1.61.1 MC_HELPER_REV=1 /bin/sh -c curl -fsSL -o /image/Log4jPatcher.jar https://github.com/CreeperHost/Log4jPatcher/releases/download/v1.0.1/Log4jPatcher-1.0.1.jar # buildkit
RUN |17 TARGETOS=linux TARGETARCH=amd64 TARGETVARIANT= EXTRA_DEB_PACKAGES= EXTRA_DNF_PACKAGES= EXTRA_ALPINE_PACKAGES= FORCE_INSTALL_PACKAGES=1 APPS_REV=1 GITHUB_BASEURL=https://github.com EASY_ADD_VERSION=0.8.14 RESTIFY_VERSION=1.7.16 RCON_CLI_VERSION=1.7.6 MC_MONITOR_VERSION=0.16.7 MC_SERVER_RUNNER_VERSION=1.15.0 MC_HELPER_VERSION=1.61.1 MC_HELPER_BASE_URL=https://github.com/itzg/mc-image-helper/releases/download/1.61.1 MC_HELPER_REV=1 /bin/sh -c dos2unix /image/scripts/start* /image/scripts/auto/* # buildkit
ENTRYPOINT ["/image/scripts/start"]
HEALTHCHECK {Test:[CMD-SHELL mc-health] Interval:30s Timeout:0s StartPeriod:2m0s StartInterval:0s Retries:2}
ARG BUILDTIME=2026-06-20T22:53:53.975Z
ARG VERSION=java21
ARG REVISION=8b5f7ed7713de12ed359d2d37ba0ec324154734d
COPY <<EOF /etc/image.properties # buildkit
RUN /bin/sh -c apt-get update && apt-get install -y git git-lfs && rm -rf /var/lib/apt/lists/* # buildkit

Labels

Key Value
org.opencontainers.image.authors Geoff Bourne <itzgeoff@gmail.com>
org.opencontainers.image.created 2026-06-20T22:53:53.975Z
org.opencontainers.image.description Docker image that provides a Minecraft Server for Java Edition that automatically installs/upgrades versions, modloaders, modpacks and more at startup
org.opencontainers.image.licenses Apache-2.0
org.opencontainers.image.revision 8b5f7ed7713de12ed359d2d37ba0ec324154734d
org.opencontainers.image.source https://github.com/itzg/docker-minecraft-server
org.opencontainers.image.title docker-minecraft-server
org.opencontainers.image.url https://github.com/itzg/docker-minecraft-server
org.opencontainers.image.version java21
Details
Container
2026-06-21 00:01:13 +00:00
0
OCI / Docker
linux/amd64
Geoff Bourne <itzgeoff@gmail.com>
Apache-2.0
318 MiB
Versions (2) View all