diff --git a/latest/Dockerfile b/1.19.4/Dockerfile similarity index 94% rename from latest/Dockerfile rename to 1.19.4/Dockerfile index 7937b33..fe60715 100644 --- a/latest/Dockerfile +++ b/1.19.4/Dockerfile @@ -5,7 +5,7 @@ ENV ACCEPT_EULA="false" ENV GAME_PORT=25565 # URL's for files -ARG INSTALL_SCRIPT=https://raw.githubusercontent.com/fithwum/minecraft/master/latest/files/Install_Script.sh +ARG INSTALL_SCRIPT=https://raw.githubusercontent.com/fithwum/minecraft/master/1.19.4/files/Install_Script.sh # Install java-17 & Dependencies. RUN apt-get -y update \ diff --git a/latest/files/Install_Script.sh b/1.19.4/files/Install_Script.sh similarity index 98% rename from latest/files/Install_Script.sh rename to 1.19.4/files/Install_Script.sh index 6f4b0a1..f64b956 100644 --- a/latest/files/Install_Script.sh +++ b/1.19.4/files/Install_Script.sh @@ -8,7 +8,7 @@ echo "INFO ! Checking for latest Minecraft Server version." MC_VERSION_OLD=1.19.3 MC_VERSION=1.19.4 MC_SERVER_FILE=https://piston-data.mojang.com/v1/objects/8f3112a1049751cc472ec13e397eade5336ca7ae/server.jar -MC_RUN_FILE=https://raw.githubusercontent.com/fithwum/minecraft/master/latest/files/run.sh +MC_RUN_FILE=https://raw.githubusercontent.com/fithwum/minecraft/master/${MC_VERSION}/files/run.sh # Main install (Debian). # Check for files in /MCserver and download if needed. diff --git a/latest/files/run.sh b/1.19.4/files/run.sh similarity index 100% rename from latest/files/run.sh rename to 1.19.4/files/run.sh