File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -250,7 +250,7 @@ private function addCoreOptions()
250250#
251251# Server Files: /mnt/server
252252apk update
253- apk add curl openjdk8
253+ apk add curl
254254
255255GET_VERSIONS=$(curl -sl http://files.minecraftforge.net/maven/net/minecraftforge/forge/ | grep -A1 Latest | grep -o -e '[1]\.[0-9][0-9] - [0-9][0-9]\.[0-9][0-9]\.[0-9]\.[0-9][0-9][0-9][0-9]')
256256LATEST_VERSION=$(echo $GET_VERSIONS | sed 's/ //g')
@@ -261,6 +261,7 @@ private function addCoreOptions()
261261curl -sS http://files.minecraftforge.net/maven/net/minecraftforge/forge/$LATEST_VERSION/forge-$LATEST_VERSION-universal.jar -o server.jar
262262
263263java -jar installer.jar --installServer
264+ rm -rf installer.jar
264265EOF;
265266
266267 $ this ->option ['forge ' ] = ServiceOption::updateOrCreate ([
@@ -277,6 +278,7 @@ private function addCoreOptions()
277278 'config_from ' => null ,
278279 'startup ' => 'java -Xms128M -Xmx{{SERVER_MEMORY}}M -jar {{SERVER_JARFILE}} ' ,
279280 'script_install ' => $ script ,
281+ 'script_container ' => 'frolvlad/alpine-oraclejdk8:cleaned ' ,
280282 ]);
281283 }
282284
You can’t perform that action at this time.
0 commit comments