Initial commit.
commit
9b139643bd
|
@ -0,0 +1,8 @@
|
|||
###
|
||||
|
||||
.git*
|
||||
|
||||
*.md
|
||||
|
||||
Dockerfile
|
||||
.dockerignore
|
|
@ -0,0 +1,25 @@
|
|||
FROM java:8-alpine
|
||||
|
||||
ARG MINECRAFT_VERSION=1.11.2
|
||||
ARG SPIGOT_BUILD=1235
|
||||
|
||||
WORKDIR /usr/src/spigot
|
||||
ADD https://hub.spigotmc.org/jenkins/job/BuildTools/59/artifact/target/BuildTools.jar /usr/src/spigot/BuildTools.jar
|
||||
RUN \
|
||||
apk add --no-cache --virtual .temp-deps \
|
||||
git \
|
||||
&& java -jar BuildTools.jar --rev "${SPIGOT_BUILD}" \
|
||||
&& mv spigot*.jar /srv/spigot.jar \
|
||||
&& chmod 444 /srv/spigot.jar
|
||||
|
||||
ADD start.sh /usr/local/bin/spigot
|
||||
RUN chmod +x /usr/local/bin/spigot
|
||||
|
||||
ENV JAVA_ARGS "-Xmx1G"
|
||||
ENV SPIGOT_ARGS ""
|
||||
ENV PAPER_ARGS ""
|
||||
|
||||
WORKDIR /data
|
||||
VOLUME "/data"
|
||||
|
||||
CMD ["spigot"]
|
|
@ -0,0 +1,13 @@
|
|||
# Spigot Docker image
|
||||
|
||||
This image includes the Jenkins build of Spigot, a "modified Minecraft server based on CraftBukkit which provides additional performance optimizations, configuration options and features, whilst still remaining compatible with all existing plugins and consistent
|
||||
with Vanilla Minecraft game mechanics." For more information check [the official SpigotMC website](https://www.spigotmc.org/wiki/about-spigot/).
|
||||
|
||||
## Available tags
|
||||
|
||||
All available tags are always listed [in Docker Hub](https://hub.docker.com/r/icedream/spigot/tags), the list below explains the maintained tags:
|
||||
|
||||
- `latest`, `b1235`, `mc-1.11.2`, `mc-1.11`: Latest server for Minecraft 1.11.x.
|
||||
|
||||
Previous builds may also be available as tags in the format `b<number>`, for
|
||||
example `b1043`.
|
Loading…
Reference in New Issue