update spigot

This commit is contained in:
Sebastian Hugentobler 2019-12-20 12:20:32 +01:00
parent c9031acd56
commit d0b53b35a5

View File

@ -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