From c9031acd5650f473b613955d04730801b80ad14e Mon Sep 17 00:00:00 2001 From: Administrator Date: Fri, 20 Dec 2019 08:36:14 +0000 Subject: [PATCH] use alpine 3.11 as builder --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 091f7cc..e9374b9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ -FROM alpine:latest as builder +FROM alpine:3.11 as builder -RUN apk --no-cache add libressl git openjdk8 +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 @@ -10,7 +10,7 @@ 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 -RUN apk add --no-cache openjdk8 libressl +RUN apk add --no-cache openjdk8 openssl RUN addgroup minecraft -g 2222 RUN adduser -u 2222 -h /var/lib/minecraft -D -G minecraft minecraft