poush to 1.16.1-131

This commit is contained in:
Sebastian Hugentobler 2020-08-03 15:35:13 +02:00
parent 2d5fe9c007
commit 667b26e873

View File

@ -1,18 +1,18 @@
FROM alpine:3.11 as builder FROM alpine:3.12 as builder
ENV VERSION=1.16.1 RUN apk --no-cache add \
openssl \
curl
RUN apk --no-cache add openssl git openjdk8 RUN curl -L -o /paper.jar https://papermc.io/api/v1/paper/1.16.1/131/download
RUN wget "https://hub.spigotmc.org/jenkins/job/BuildTools/lastSuccessfulBuild/artifact/target/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 /paper.jar /var/lib/minecraft/paper.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 \
openjdk11 \
openssl
RUN addgroup minecraft -g 2222 RUN addgroup minecraft -g 2222
RUN adduser -u 2222 -h /var/lib/minecraft -D -G minecraft minecraft RUN adduser -u 2222 -h /var/lib/minecraft -D -G minecraft minecraft