Go to file
Kris Lamoureux 381bd9eeff
Refactor image, Java sourcing, and add entrypoint
- Moved to debian-slim base image to minimize size
- Transitioned to Adoptium APT repos for flexibility in Java versions
- Added an entrypoint script that configures EULA and server settings
- Run server in resumable screen for console access in the container
2024-05-12 02:59:45 -04:00
.gitignore Refactor image, Java sourcing, and add entrypoint 2024-05-12 02:59:45 -04:00
docker-compose.yml Refactor image, Java sourcing, and add entrypoint 2024-05-12 02:59:45 -04:00
Dockerfile Refactor image, Java sourcing, and add entrypoint 2024-05-12 02:59:45 -04:00
entrypoint.sh Refactor image, Java sourcing, and add entrypoint 2024-05-12 02:59:45 -04:00
LICENSE Download and verify server.jar hash 2024-05-09 04:25:35 -04:00
README.md Refactor image, Java sourcing, and add entrypoint 2024-05-12 02:59:45 -04:00

Minecraft Docker Image

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

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

echo "EULA=true" > .env

To build and test the image:

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/.