update minecraft version

This commit is contained in:
Christine Dodrill 2015-07-25 19:34:07 -07:00
parent fdda054778
commit a089eb405a
3 changed files with 11 additions and 3 deletions

View File

@ -6,9 +6,14 @@ RUN useradd --create-home minecraft
ADD ./eula.txt /minecraft/data/eula.txt
ADD ./server.properties /minecraft/data/server.properties
ADD https://s3.amazonaws.com/Minecraft.Download/versions/1.8.4/minecraft_server.1.8.4.jar /minecraft/minecraft_server.1.8.4.jar
ADD https://s3.amazonaws.com/Minecraft.Download/versions/1.8.7/minecraft_server.1.8.7.jar /minecraft/minecraft_server.1.8.7.jar
ADD runit/ /etc/service
RUN chmod a+r /minecraft/minecraft_server.1.8.4.jar
RUN chmod a+r /minecraft/minecraft_server.1.8.7.jar
VOLUME /minecraft/data
EXPOSE 25565
EXPOSE 25575/udp
CMD /sbin/my_init

View File

@ -4,4 +4,4 @@ chmod -R a+rw /minecraft
cd /minecraft/data
setuser minecraft java -jar /minecraft/minecraft_server.1.8.4.jar
setuser minecraft java -jar /minecraft/minecraft_server.1.8.7.jar

View File

@ -32,3 +32,6 @@ spawn-monsters=true
view-distance=10
generate-structures=true
motd=A Minecraft Server
rcon.password=swag
enable-rcon=true
rcon.port=25575