From d0b53b35a5b8f792d7a278abc29687b0fee8f8eb Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Fri, 20 Dec 2019 12:20:32 +0100 Subject: [PATCH] update spigot --- Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index e9374b9..5151c37 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,14 +1,16 @@ FROM alpine:3.11 as builder +ENV VERSION=1.15.1 + RUN apk --no-cache add openssl git openjdk8 RUN wget "https://hub.spigotmc.org/jenkins/job/BuildTools/lastSuccessfulBuild/artifact/target/BuildTools.jar" && \ - java -jar BuildTools.jar + java -jar BuildTools.jar --rev $VERSION FROM thallian/confd-env:latest COPY --from=builder /spigot*.jar /var/lib/minecraft/spigot.jar -COPY --from=builder /craftbukkit*.jar /var/lib/minecraft/craftbukkit.jar +COPY --from=builder /CraftBukkit/target/craftbukkit*.jar /var/lib/minecraft/craftbukkit.jar RUN apk add --no-cache openjdk8 openssl