use alpine 3.11 as builder
This commit is contained in:
parent
22ddb4474a
commit
c9031acd56
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user