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
This commit is contained in:
2024-05-17 23:58:46 -04:00
parent 297902a686
commit 813b9de410
7 changed files with 269 additions and 104 deletions

View File

@@ -1,12 +1,6 @@
services:
minecraft:
build:
context: .
dockerfile: Dockerfile
args:
VERSION: ${VERSION:-latest}
JAVA_VERSION: ${JAVA_VERSION:-latest}
image: ${IMAGE:-minecraft}:${TAG:-latest}
image: ${IMAGE:-localhost/minecraft}:${TAG:-latest}
ports:
- "0.0.0.0:25565:25565"
environment: