Initial commit.

mc-1.9.4 b1043
Icedream 2017-01-27 21:34:07 +01:00
commit 6bec8fba47
Signed by: icedream
GPG Key ID: 1573F6D8EFE4D0CF
4 changed files with 47 additions and 0 deletions

8
.dockerignore Normal file
View File

@ -0,0 +1,8 @@
###
.git*
*.md
Dockerfile
.dockerignore

25
Dockerfile Normal file
View File

@ -0,0 +1,25 @@
FROM java:8-alpine
ARG MINECRAFT_VERSION=1.11.2
ARG PAPER_BUILD=1043
ARG PAPER_URL=https://ci.destroystokyo.com/job/PaperSpigot/${PAPER_BUILD}/artifact/paperclip-${PAPER_BUILD}.jar
ARG PAPER_SHA512=44de2931778e544f846b7c02268eaa91f52895f6a6064cadb094fc8d65312d85080183932cd23a6557a649c7a21f278553e0115c2d4e4bc63df34e532c082ecb
WORKDIR /data
ADD "${PAPER_URL}" /srv/paper.jar
RUN cd /srv &&\
java -jar paper.jar --version &&\
mv cache/patched*.jar paper.jar &&\
rm -rf cache &&\
chmod 444 /srv/paper.jar
ADD start.sh /usr/local/bin/paper
RUN chmod +x /usr/local/bin/paper
ENV JAVA_ARGS "-Xmx1G"
ENV SPIGOT_ARGS ""
ENV PAPER_ARGS ""
VOLUME "/data"
CMD ["paper"]

12
README.md Normal file
View File

@ -0,0 +1,12 @@
# Paper Docker image
This image includes the Jenkins build of Paper, the "high performance Spigot fork that aims to fix gameplay and mechanics inconsistencies." For more information on the software itself check https://aquifermc.org/ and for more information on Spigot check https://spigotmc.org/.
## Available tags
All available tags are always listed [in Docker Hub](https://hub.docker.com/r/icedream/paper/tags), the list below explains the maintained tags:
- `latest`, `b1043`, `mc-1.11.2`, `mc-1.11`: Latest server for Minecraft 1.11.x.
- `b916.2`, `mc-1.10.2`, `mc-1.10`: Latest server for Minecraft 1.10.x.
- `b773`, `mc-1.9.4`, `mc-1.9`: Latest server for Minecraft 1.9.x.
- `b443`, `mc-1.8.8`, `mc-1.8`: Latest server for Minecraft 1.8.x.

2
start.sh Normal file
View File

@ -0,0 +1,2 @@
#!/bin/sh
exec java $JAVA_ARGS -jar /srv/paper.jar $PAPER_ARGS $SPIGOT_ARGS