HUB
Sign inSign up
minecraft-base logo

nefald/minecraft-base

By nefald

•Updated 6 days ago

Base image for Nefald Minecraft servers: Temurin JRE 17/21, rcon-cli, Aikar's flags.

Image
0

2.1K

nefald/minecraft-base repository overview

⁠minecraft-base

Docker Pulls Image Size

Minimal base image for Nefald Minecraft servers. Provides a JRE runtime with the minecraft user, rcon-cli, and an optimised entrypoint. Not meant to be used directly — extend it to add a server JAR (see nefald/paper⁠).

⁠Tags

TagJavaBase OS
latest21 LTSUbuntu 22.04 (Jammy)
java2121 LTSUbuntu 22.04 (Jammy)
java1717 LTSUbuntu 22.04 (Jammy)

Built on eclipse-temurin⁠ (the official successor to openjdk). Rebuilt automatically every Sunday at 03:00 Europe/Paris to pick up security updates.

⁠Environment variables

VariableDefaultDescription
INIT_MEMORY2GJVM initial heap (-Xms)
MAX_MEMORY2GJVM max heap (-Xmx)
TZEurope/ParisContainer timezone

⁠Included tools

  • rcon-cli⁠ — RCON client for server management
  • curl, file — runtime utilities

⁠User and paths

The server runs as minecraft (uid/gid 1000).

PathRole
/dataServer data directory (mount a volume here)
/opt/minecraft/server.jarServer JAR — provided by the child image

Exposed port: 25565/tcp+udp

⁠Extending this image

FROM nefald/minecraft-base:latest

ENV SERVER_TYPE="MyServer"

COPY server.jar /opt/minecraft/server.jar

⁠JVM flags

The entrypoint uses Aikar's optimised G1GC flags⁠ out of the box.


Maintained by Nefald Community⁠ · Discord⁠

Tag summary

Content type

Image

Digest

sha256:92c624e05…

Size

97.5 MB

Last updated

6 days ago

docker pull nefald/minecraft-base