minecraft (sha256:2dc3b8ea83d9241f959dcd359ecd63d06137f6c0f7e19515dcb74c0cd5a2d417)
Published 2024-06-07 17:25:03 +00:00 by freya
Installation
docker pull g.freya.cat/freya/minecraft@sha256:2dc3b8ea83d9241f959dcd359ecd63d06137f6c0f7e19515dcb74c0cd5a2d417
sha256:2dc3b8ea83d9241f959dcd359ecd63d06137f6c0f7e19515dcb74c0cd5a2d417
Image Layers
ADD file:e3abcdba177145039cfef1ad882f9f81a612a24c9f044b19f713b95454d2e3f6 in / |
CMD ["/bin/sh"] |
ENV LANG=en_US.UTF-8 |
ENV JAVA_HOME=/usr/lib/jvm/java-21-openjdk |
ENV PATH=/usr/lib/jvm/java-21-openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
RUN /bin/sh -c apk add --no-cache tini wget openjdk21-jre jq curl shadow fontconfig ttf-dejavu # buildkit |
COPY ./mcjar /usr/local/bin/mcjar # buildkit |
COPY ./mclauncher /usr/local/bin/mclauncher # buildkit |
RUN /bin/sh -c chmod +x /usr/local/bin/mcjar # buildkit |
RUN /bin/sh -c chmod +x /usr/local/bin/mclauncher # buildkit |
RUN /bin/sh -c addgroup -S mc && adduser -S mc -G mc # buildkit |
RUN /bin/sh -c groupmod --gid 1000 mc # buildkit |
RUN /bin/sh -c usermod --uid 1000 mc # buildkit |
RUN /bin/sh -c mkdir /data && chown mc:mc /data # buildkit |
VOLUME [/data] |
USER mc |
WORKDIR /data |
ENV SERVER_DIR=/data |
ENTRYPOINT ["/sbin/tini" "--"] |
CMD ["/usr/local/bin/mclauncher" "-l"] |