This commit is contained in:
2025-07-01 08:45:44 -07:00
parent 0687af5815
commit 853c9caf5c
11 changed files with 18 additions and 19 deletions

View File

@@ -10,7 +10,7 @@ ENV XMS_SIZE=""
ENV XMN_SIZE=""
# URL's for files
ARG INSTALL_SCRIPT=https://gitlab.fithwum.tech/fithwum/minecraft/-/raw/master/vanilla/install_script.sh
ARG INSTALL_SCRIPT=https://raw.githubusercontent.com/fithwum/minecraft/refs/heads/master/vanilla/install_script.sh
# Install java-17 & Dependencies.
RUN apt-get -y update && apt-get autoclean && apt-get autoremove \

View File

@@ -4,7 +4,7 @@
VERSION_CHECK=$(curl -s "https://piston-meta.mojang.com/mc/game/version_manifest_v2.json" | grep -Pom 1 '"url": "\K[^"]*'$MC_VERSION'.json')
MC_SERVER_FILE=$(curl -s $VERSION_CHECK | jq --raw-output '.downloads.server.url')
MC_RUN_FILE=https://gitlab.fithwum.tech/fithwum/minecraft/-/raw/master/vanilla/run.sh
MC_RUN_FILE=https://raw.githubusercontent.com/fithwum/minecraft/refs/heads/master/vanilla/run.sh
rm -fr /MCserver/MCserver_*.jar
rm -fr /MCserver/run_*.sh