mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-08-31 19:27:15 +00:00
Use Forge recommended (not latest) version
* Misc Dockerfile cleanup ** use COPY instead of ADD ** wget is now pre-installed by base image
This commit is contained in:
@@ -45,7 +45,6 @@ case $TYPE in
|
||||
# norm := the official Minecraft version as Forge is tracking it. dropped the third part starting with 1.8
|
||||
case $VANILLA_VERSION in
|
||||
1.7.*)
|
||||
echo OLDER
|
||||
norm=$VANILLA_VERSION
|
||||
;;
|
||||
|
||||
@@ -54,7 +53,7 @@ case $TYPE in
|
||||
;;
|
||||
esac
|
||||
|
||||
FORGE_VERSION=`wget -O - http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json | jsawk -n "out(this.promos['$norm-latest'])"`
|
||||
FORGE_VERSION=`wget -O - http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json | jsawk -n "out(this.promos['$norm-recommended'])"`
|
||||
|
||||
normForgeVersion="$norm-$FORGE_VERSION"
|
||||
FORGE_INSTALLER="forge-$normForgeVersion-installer.jar"
|
||||
|
||||
Reference in New Issue
Block a user