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:
@@ -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:
|
||||
|
Reference in New Issue
Block a user