15 lines
443 B
Docker
15 lines
443 B
Docker
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
|
|
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 runit/ /etc/service
|
|
|
|
RUN chmod a+r /minecraft/minecraft_server.1.8.4.jar
|
|
|
|
CMD /sbin/my_init
|