From 35cdfb7e099b89dad9d6b6e882be1bd5c2b23b5d Mon Sep 17 00:00:00 2001 From: Marcel Otte Date: Sun, 10 Jan 2016 12:45:21 +0100 Subject: [PATCH 1/3] fewer steps, smaller image (removing zip after unzip) --- Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4cd786b..ef33748 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,10 @@ FROM ubuntu:15.10 MAINTAINER Marcel Otte RUN apt-get update && apt-get install -y openjdk-8-jre wget unzip -#RUN apt-get install -y wget unzip -RUN mkdir /terasology -RUN wget -P /terasology http://jenkins.terasology.org/job/DistroOmegaRelease/lastSuccessfulBuild/artifact/distros/omega/build/distributions/TerasologyOmega.zip -RUN unzip /terasology/TerasologyOmega.zip -d /terasology +RUN mkdir /terasology \ + && wget -P /terasology http://jenkins.terasology.org/job/DistroOmegaRelease/lastSuccessfulBuild/artifact/distros/omega/build/distributions/TerasologyOmega.zip \ + && unzip /terasology/TerasologyOmega.zip -d /terasology \ + && rm -f /terasology/TerasologyOmega.zip ENTRYPOINT java -jar /terasology/libs/Terasology.jar -headless -homedir=/terasology/server VOLUME /terasology/server EXPOSE 25777 From 98dd8e1c90cd4fb6e58ae4972cfc3eb3131f63a1 Mon Sep 17 00:00:00 2001 From: Marcel Otte Date: Sun, 10 Jan 2016 13:50:58 +0100 Subject: [PATCH 2/3] fixing markup, because the great docker up does not recognize the numbering correctly... --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 6918e17..6e764ef 100644 --- a/README.md +++ b/README.md @@ -14,9 +14,9 @@ Just bind the provided volume of the container to a local directory and edit the Best practice would be cloning this repository and using docker-compose to pull and start the image. 1. Edit the ```docker-compose.yml``` file for the location of the volume mount. - * Pull the image with ```docker-compose pull```. - * Start it with ```docker-compose up``` and watch the output for errors. - * Edit the generated config.cfg at the location of the mount and proceed with 3. until your server runs like you want. + 2. Pull the image with ```docker-compose pull```. + 3. Start it with ```docker-compose up``` and watch the output for errors. + 4. Edit the generated config.cfg at the location of the mount and proceed with until your server runs like you want. There may be standard configurations in the future for specific use cases, may be... ;-) From b188b8c8365c054195e61620d9f5a1ab67cec8b5 Mon Sep 17 00:00:00 2001 From: Marcel Otte Date: Sun, 10 Jan 2016 14:07:34 +0100 Subject: [PATCH 3/3] added some resource links. --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 6e764ef..816053b 100644 --- a/README.md +++ b/README.md @@ -21,3 +21,7 @@ Best practice would be cloning this repository and using docker-compose to pull There may be standard configurations in the future for specific use cases, may be... ;-) One thing's for sure, I'll keep this a little more updated after this long time of silence. + +More information about terasology can be found on following sites: +* https://github.com/MovingBlocks/Terasology +* http://terasology.org/