From 667b26e87308b356148505f895b5376fd0e9e59b Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Mon, 3 Aug 2020 15:35:13 +0200 Subject: [PATCH] poush to 1.16.1-131 --- Dockerfile | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/Dockerfile b/Dockerfile index 360d005..fe1ce45 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 wget "https://hub.spigotmc.org/jenkins/job/BuildTools/lastSuccessfulBuild/artifact/target/BuildTools.jar" && \ - java -jar BuildTools.jar --rev $VERSION +RUN curl -L -o /paper.jar https://papermc.io/api/v1/paper/1.16.1/131/download FROM thallian/confd-env:latest -COPY --from=builder /spigot*.jar /var/lib/minecraft/spigot.jar -COPY --from=builder /CraftBukkit/target/craftbukkit*.jar /var/lib/minecraft/craftbukkit.jar +COPY --from=builder /paper.jar /var/lib/minecraft/paper.jar -RUN apk add --no-cache openjdk8 openssl +RUN apk add --no-cache \ + openjdk11 \ + openssl RUN addgroup minecraft -g 2222 RUN adduser -u 2222 -h /var/lib/minecraft -D -G minecraft minecraft