update to version 1.12
This commit is contained in:
parent
ecb199eefd
commit
2db93f4f67
18
Dockerfile
18
Dockerfile
@ -2,20 +2,18 @@ FROM quay.io/thallian/confd-env:latest
|
|||||||
|
|
||||||
RUN apk add --no-cache openjdk8 git libressl bash
|
RUN apk add --no-cache openjdk8 git libressl bash
|
||||||
|
|
||||||
RUN mkdir -p /etc/services.d/minecraft/
|
|
||||||
|
|
||||||
RUN addgroup minecraft
|
RUN addgroup minecraft
|
||||||
RUN adduser -h /var/lib/minecraft -D -G minecraft minecraft
|
RUN adduser -h /var/lib/minecraft -D -G minecraft minecraft
|
||||||
|
|
||||||
RUN mkdir /tmp/minecraft/
|
RUN mkdir /tmp/minecraft/ && \
|
||||||
RUN wget "https://hub.spigotmc.org/jenkins/job/BuildTools/lastSuccessfulBuild/artifact/target/BuildTools.jar" -O /tmp/minecraft/BuildTools.jar
|
wget "https://hub.spigotmc.org/jenkins/job/BuildTools/lastSuccessfulBuild/artifact/target/BuildTools.jar" -O /tmp/minecraft/BuildTools.jar && \
|
||||||
RUN cd /tmp/minecraft && bash -c 'java -jar BuildTools.jar'
|
cd /tmp/minecraft && bash -c 'java -jar BuildTools.jar' && \
|
||||||
|
cp /tmp/minecraft/spigot*.jar /var/lib/minecraft/spigot.jar && \
|
||||||
|
cp /tmp/minecraft/craftbukkit*.jar /var/lib/minecraft/craftbukkit.jar && \
|
||||||
|
rm -r /tmp/minecraft && \
|
||||||
|
apk del git bash
|
||||||
|
|
||||||
RUN cp /tmp/minecraft/spigot*.jar /var/lib/minecraft/spigot.jar
|
RUN mkdir -p /etc/services.d/minecraft/
|
||||||
RUN cp /tmp/minecraft/craftbukkit*.jar /var/lib/minecraft/craftbukkit.jar
|
|
||||||
|
|
||||||
RUN rm -r /tmp/minecraft
|
|
||||||
RUN apk del git bash
|
|
||||||
|
|
||||||
ADD /rootfs /
|
ADD /rootfs /
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user