Kris Lamoureux
381bd9eeff
- 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 |
||
---|---|---|
.gitignore | ||
docker-compose.yml | ||
Dockerfile | ||
entrypoint.sh | ||
LICENSE | ||
README.md |
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 and License
Copyright (C) 2024 Kris Lamoureux
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/.