From 52a4065cf6bd71dd019a9d19e5d30d3381ff787c Mon Sep 17 00:00:00 2001 From: Thomas Clavier Date: Sat, 15 Feb 2020 08:41:04 +0100 Subject: [PATCH] Stat good jar --- Dockerfile | 4 ++-- start | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 06bb7ad..1a04710 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -from debian:sid +from debian env DEBIAN_FRONTEND noninteractive run apt-get update && \ apt-get dist-upgrade -y && \ @@ -11,7 +11,7 @@ add https://hub.spigotmc.org/jenkins/job/BuildTools/lastSuccessfulBuild/artifact workdir /opt/minecraft/ env MINECRAFT_VERSION=1.14.4 -run java -jar BuildTools.jar --rev $MINECRAFT_VERSION --compile craftbukkit . +run java -jar BuildTools.jar --rev $MINECRAFT_VERSION --compile craftbukkit env SCRIPTCRAFT_VERSION=3.4.0 add https://github.com/walterhiggins/ScriptCraft/releases/download/$SCRIPTCRAFT_VERSION/scriptcraft.jar /opt/minecraft/plugins/scriptcraft.jar diff --git a/start b/start index 5bd31ec..90b9028 100755 --- a/start +++ b/start @@ -11,4 +11,4 @@ cd /minecraft [ -n "${ONLINE_MODE:-}" ] && sed -i -e "s/^online-mode=.*/online-mode=$ONLINE_MODE/g" /minecraft/server.properties /etc/init.d/ssh start -echo "jsp classroom on" | /usr/bin/java -Xmx8192M -jar Spigot/Spigot-Server/target/spigot-${MINECRAFT_VERSION}-R0.1-SNAPSHOT.jar +echo "jsp classroom on" | /usr/bin/java -Xmx8192M -jar CraftBukkit/target/craftbukkit-${MINECRAFT_VERSION}-R0.1-SNAPSHOT.jar