poush to 1.16.1-131
This commit is contained in:
parent
2d5fe9c007
commit
667b26e873
18
Dockerfile
18
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
|
||||
|
Loading…
Reference in New Issue
Block a user