Go to file
Kris Lamoureux 813b9de410
Create specific Dockerfiles for Minecraft setups
- Decompose Dockerfile into modular components
- Establish building JRE and JDK images from Docker.java
- Establish Dockerfile.vanilla for vanilla server setup
- Establish Dockerfile.bukkit for Spigot and CraftBukkit
- Establish a comprehensive Makefile for building and managing
- Add docker-compose.build.yml for streamlined image construction
- Use docker-compose.yml to test built images without a volume
2024-05-17 23:58:46 -04:00
dockerfiles Create specific Dockerfiles for Minecraft setups 2024-05-17 23:58:46 -04:00
.gitignore Handle SIGTERM to stop Minecraft gracefully 2024-05-15 03:22:34 -04:00
docker-compose.build.yml Create specific Dockerfiles for Minecraft setups 2024-05-17 23:58:46 -04:00
docker-compose.yml Create specific Dockerfiles for Minecraft setups 2024-05-17 23:58:46 -04:00
entrypoint.sh Handle SIGTERM to stop Minecraft gracefully 2024-05-15 03:22:34 -04:00
LICENSE Download and verify server.jar hash 2024-05-09 04:25:35 -04:00
Makefile Create specific Dockerfiles for Minecraft setups 2024-05-17 23:58:46 -04:00
README.md Handle SIGTERM to stop Minecraft gracefully 2024-05-15 03:22:34 -04:00

Minecraft Docker Image

This Dockerfile sets up a Minecraft server based on the debian-slim image.

Quick Start

By running the following and building this image, you are agreeing to Minecraft's EULA:

echo "EULA=true" > .env

Build the image using the Makefile:

make build

Optionally, build and run to test it:

make install

Feel free to use docker compose directly to build and test:

docker compose build
docker compose up -d
docker logs -f minecraft-minecraft-1

Copyright (C) 2024 Kris Lamoureux

License: GPL v3

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 3 of the License.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.