update minecraft version
This commit is contained in:
parent
fdda054778
commit
a089eb405a
|
@ -6,9 +6,14 @@ RUN useradd --create-home minecraft
|
||||||
|
|
||||||
ADD ./eula.txt /minecraft/data/eula.txt
|
ADD ./eula.txt /minecraft/data/eula.txt
|
||||||
ADD ./server.properties /minecraft/data/server.properties
|
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
|
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
|
CMD /sbin/my_init
|
||||||
|
|
|
@ -4,4 +4,4 @@ chmod -R a+rw /minecraft
|
||||||
|
|
||||||
cd /minecraft/data
|
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
|
||||||
|
|
|
@ -32,3 +32,6 @@ spawn-monsters=true
|
||||||
view-distance=10
|
view-distance=10
|
||||||
generate-structures=true
|
generate-structures=true
|
||||||
motd=A Minecraft Server
|
motd=A Minecraft Server
|
||||||
|
rcon.password=swag
|
||||||
|
enable-rcon=true
|
||||||
|
rcon.port=25575
|
||||||
|
|
Loading…
Reference in New Issue