Compare commits

..

No commits in common. "master" and "myserver" have entirely different histories.

5 changed files with 9 additions and 9 deletions

2
.gitignore vendored
View File

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

View File

@ -1,8 +1,8 @@
FROM openjdk:21
FROM openjdk:20
COPY app /app
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-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/Hodgepodge/releases/download/2.2.8/hodgepodge-2.2.8.jar /app/mods/hodgepodge-2.2.31.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
COPY prepare_environment.sh startserver.sh /app/
RUN mkdir -p /data
WORKDIR /app

View File

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

Binary file not shown.

View File

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