commit b33feb64eeec1486e8ee3e9f83bd18cab7a3e9e4 Author: Carl Kittelberger Date: Thu Feb 2 12:21:10 2017 +0100 Initial commit, starting with build 75. diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..800a700 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,8 @@ +### + +.git* + +*.md + +Dockerfile +.dockerignore diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..26ee5f7 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,20 @@ +FROM java:8-alpine + +ARG WATERFALL_BUILD=75 +ARG WATERFALL_URL=https://ci.destroystokyo.com/job/Waterfall/${WATERFALL_BUILD}/artifact/Waterfall-Proxy/bootstrap/target/Waterfall.jar +ARG WATERFALL_SHA512=f69a1bd233fe933b5241cd65efb6f8500436303ed0ceaff227ca9b7bd81413c68732661fffbf8d31980f52fb1a46118bb6687f102c962bc2db724b9aaf303b82 + +WORKDIR /data +ADD "${WATERFALL_URL}" /srv/waterfall.jar +RUN cd /srv &&\ + chmod 444 /srv/waterfall.jar + +ADD start.sh /usr/local/bin/waterfall +RUN chmod +x /usr/local/bin/waterfall + +ENV JAVA_ARGS "-Xmx1G" +ENV WATERFALL_ARGS "" + +VOLUME "/data" + +CMD ["waterfall"] diff --git a/README.md b/README.md new file mode 100644 index 0000000..7399aaf --- /dev/null +++ b/README.md @@ -0,0 +1,12 @@ +# Waterfall Docker image + +This image includes the [Jenkins build of Waterfall](), "a drag and drop replacement for BungeeCord that adds new features, fixes bugs, and improves performance." For more information on the software itself check [the GitHub repo for it](https://github.com/WaterfallMC/Waterfall) or [its webpage over at the Aquifer website](https://aquifermc.org/pages/about-waterfall/). For information about the original BungeeCord check [the BungeeCord Wiki](https://www.spigotmc.org/wiki/about-bungeecord/). + +## Available tags + +All available tags are always listed [in Docker Hub](https://hub.docker.com/r/icedream/waterfall/tags), the list below explains the maintained tags: + +- `latest`, `b75`: Latest version of Waterfall. + +Previous builds may also be available as tags in the format `b`, for +example `b75`. diff --git a/start.sh b/start.sh new file mode 100644 index 0000000..0a5b510 --- /dev/null +++ b/start.sh @@ -0,0 +1,2 @@ +#!/bin/sh +exec java $JAVA_ARGS -jar /srv/waterfall.jar $WATERFALL_ARGS