minecraft (sha256:c714fcd6e65f5c1cfbc8919fb52268f779a36047d21a6df7d113b1dbddf1f7bf)
Published 2024-06-07 17:25:03 +00:00 by freya
Installation
docker pull g.freya.cat/freya/minecraft@sha256:c714fcd6e65f5c1cfbc8919fb52268f779a36047d21a6df7d113b1dbddf1f7bf
sha256:c714fcd6e65f5c1cfbc8919fb52268f779a36047d21a6df7d113b1dbddf1f7bf
Image Layers
ADD file:ceadd994c6d8900884c4a44aa76cf187336921e29afeaa017c4a3d1fc066a6a3 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"] |