Update to 2.6.0

This commit is contained in:
Mirror 2024-05-06 20:19:19 +03:00
parent 6bac2b5b3e
commit c6ca9ef95a
5 changed files with 9 additions and 9 deletions

2
.gitignore vendored
View File

@ -1,3 +1,3 @@
/app /app
/data /data
GT_New_Horizons_2.4.0_Server_Java_17-20.zip GT_New_Horizons_2.6.0_Server_Java_17-21.zip

View File

@ -1,8 +1,8 @@
FROM openjdk:20 FROM openjdk:21
COPY app /app COPY app /app
ADD https://github.com/GTNewHorizons/Hodgepodge/releases/download/2.2.8/hodgepodge-2.2.8.jar /app/mods/hodgepodge-2.2.31.jar COPY hodgepodge-95a2f2a.jar /app/mods/hodgepodge-2.4.43.jar
ADD https://github.com/GTNewHorizons/FTB-Utilities/releases/download/1.1.1-GTNH/FTBUtilities-1.1.1-GTNH.jar /app/mods/FTBUtilities-1.1.1-GTNH.jar #ADD https://github.com/GTNewHorizons/FTB-Utilities/releases/download/1.1.1-GTNH/FTBUtilities-1.1.1-GTNH.jar /app/mods/FTBUtilities-1.1.1-GTNH.jar
ADD https://github.com/GTNewHorizons/FTB-Library/releases/download/1.0.19-GTNH/FTBLib-1.0.19-GTNH.jar /app/mods/FTBLib-1.0.19-GTNH.jar #ADD https://github.com/GTNewHorizons/FTB-Library/releases/download/1.0.19-GTNH/FTBLib-1.0.19-GTNH.jar /app/mods/FTBLib-1.0.19-GTNH.jar
COPY prepare_environment.sh startserver.sh /app/ COPY prepare_environment.sh startserver.sh /app/
RUN mkdir -p /data RUN mkdir -p /data
WORKDIR /app WORKDIR /app

View File

@ -1,11 +1,11 @@
#!/bin/sh #!/bin/sh
if [ ! -f GT_New_Horizons_2.4.0_Server_Java_17-20.zip ]; then if [ ! -f GT_New_Horizons_2.6.0_Server_Java_17-21.zip ]; then
wget https://downloads.gtnewhorizons.com/ServerPacks/GT_New_Horizons_2.4.0_Server_Java_17-20.zip wget http://downloads.gtnewhorizons.com/ServerPacks/GT_New_Horizons_2.6.0_Server_Java_17-21.zip
fi fi
if [ ! -d app ]; then if [ ! -d app ]; then
mkdir app mkdir app
cd app || exit cd app || exit
unzip ../GT_New_Horizons_2.4.0_Server_Java_17-20.zip unzip ../GT_New_Horizons_2.6.0_Server_Java_17-21.zip
cd .. cd ..
fi fi

BIN
hodgepodge-95a2f2a.jar Normal file

Binary file not shown.

View File

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
if /app/prepare_environment.sh; then if /app/prepare_environment.sh; then
exec java -Xms6G -Xmx6G -Dfml.readTimeout=180 -Dfml.queryResult=confirm @java9args.txt nogui exec java -Xms6G -Xmx6G -Dfml.readTimeout=180 -Dfml.queryResult=confirm @java9args.txt -jar lwjgl3ify-forgePatches.jar nogui
fi fi