update spigot
This commit is contained in:
parent
c9031acd56
commit
d0b53b35a5
@ -1,14 +1,16 @@
|
|||||||
FROM alpine:3.11 as builder
|
FROM alpine:3.11 as builder
|
||||||
|
|
||||||
|
ENV VERSION=1.15.1
|
||||||
|
|
||||||
RUN apk --no-cache add openssl git openjdk8
|
RUN apk --no-cache add openssl git openjdk8
|
||||||
|
|
||||||
RUN wget "https://hub.spigotmc.org/jenkins/job/BuildTools/lastSuccessfulBuild/artifact/target/BuildTools.jar" && \
|
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
|
FROM thallian/confd-env:latest
|
||||||
|
|
||||||
COPY --from=builder /spigot*.jar /var/lib/minecraft/spigot.jar
|
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
|
RUN apk add --no-cache openjdk8 openssl
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user