Added support for Minecraft server EULA and update default to 1.8

This commit is contained in:
Geoff Bourne
2014-09-07 23:18:20 +00:00
parent 84154c3d64
commit f85240898d
3 changed files with 44 additions and 21 deletions
+4 -2
View File
@@ -2,6 +2,8 @@ FROM itzg/ubuntu-openjdk-7
MAINTAINER itzg
ENV APT_UPDATED 2014-09-07
RUN apt-get update
RUN apt-get install -y wget libmozjs-24-bin
RUN update-alternatives --install /usr/bin/js js /usr/bin/js24 100
@@ -21,5 +23,5 @@ CMD /start
ENV MOTD A Minecraft Server Powered by Docker
ENV LEVEL world
ENV JVM_OPTS -Xmx512M -Xms512M
ENV VERSION 1.7.9
ENV JVM_OPTS -Xmx1024M -Xms1024M
ENV VERSION 1.8