2015-05-02 01:00:30 +00:00
|
|
|
FROM flitter/init
|
|
|
|
|
|
|
|
RUN apt-get update && apt-get install openjdk-7-jre-headless -y
|
|
|
|
|
|
|
|
RUN useradd --create-home minecraft
|
|
|
|
|
|
|
|
ADD ./eula.txt /minecraft/data/eula.txt
|
|
|
|
ADD ./server.properties /minecraft/data/server.properties
|
2017-01-09 23:28:20 +00:00
|
|
|
ADD https://s3.amazonaws.com/Minecraft.Download/versions/1.11/minecraft_server.1.11.jar /minecraft/minecraft_server.jar
|
2015-05-02 01:00:30 +00:00
|
|
|
ADD runit/ /etc/service
|
|
|
|
|
2016-09-15 17:42:00 +00:00
|
|
|
RUN chmod a+r /minecraft/minecraft_server.jar
|
2015-07-26 02:34:07 +00:00
|
|
|
|
|
|
|
VOLUME /minecraft/data
|
|
|
|
|
|
|
|
EXPOSE 25565
|
|
|
|
EXPOSE 25575/udp
|
2015-05-02 01:00:30 +00:00
|
|
|
|
|
|
|
CMD /sbin/my_init
|