From 6a6aa156ed7f50f17c5a7f1291d8cc5937a3782a Mon Sep 17 00:00:00 2001 From: Marcel Otte Date: Tue, 24 Mar 2015 22:14:29 +0100 Subject: [PATCH] basis version of the docker file, this one runs on my server flawlessly --- Dockerfile | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..948a32e --- /dev/null +++ b/Dockerfile @@ -0,0 +1,10 @@ +FROM ubuntu:14.04 +MAINTAINER Marcel Otte +RUN apt-get update && apt-get install -y openjdk-7-jre-headless +RUN apt-get install -y wget unzip +RUN mkdir /terasology +RUN wget -P /terasology http://jenkins.terasology.org/job/TerasologyStable/lastSuccessfulBuild/artifact/build/distributions/Terasology.zip +RUN unzip /terasology/Terasology.zip -d /terasology +ENTRYPOINT java -jar /terasology/libs/Terasology.jar -headless -homedir=/terasology/server +VOLUME /terasology/server +EXPOSE 25777