Compare commits

..

3 Commits

Author SHA1 Message Date
62809862c5 Update gitignore 2023-11-24 15:21:12 +03:00
7a749c051e FTBUtils settings 2023-11-24 15:20:52 +03:00
608339c8f7 Add ftbutils 2023-11-24 15:20:30 +03:00
3 changed files with 6 additions and 1 deletions

1
.gitignore vendored
View File

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

View File

@ -1,6 +1,8 @@
FROM openjdk:20
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
ADD https://mediafilez.forgecdn.net/files/2291/494/FTBUtilities-1.7.10-1.0.18.3.jar /app/mods/FTBUtilities-1.7.10-1.0.18.3.jar
ADD https://mediafilez.forgecdn.net/files/2291/433/FTBLib-1.7.10-1.0.18.3.jar /app/mods/FTBLib-1.7.10-1.0.18.3.jar
COPY prepare_environment.sh startserver.sh /app/
RUN mkdir -p /data
WORKDIR /app

View File

@ -3,7 +3,7 @@
echo "eula=true" > eula.txt
if [ ! -f /data/.initialized ]; then
mkdir -p /data/logs /data/World /data/crash-reports
mkdir -p /data/logs /data/World /data/crash-reports /data/local /data/visualprospecting
for i in "server.properties" "usercache.json" "whitelist.json" "ops.json" "config"
do
cp -r $i /data/
@ -21,6 +21,8 @@ if [ ! -f /app/.initialized ]; then
ln -s /data/logs .
ln -s /data/World .
ln -s /data/crash-reports .
ln -s /data/local .
ln -s /data/visualprospecting .
touch /app/.initialized
fi