basis version of the docker file, this one runs on my server flawlessly

This commit is contained in:
Marcel Otte 2015-03-24 22:14:29 +01:00
commit 6a6aa156ed
1 changed files with 10 additions and 0 deletions

10
Dockerfile Normal file
View File

@ -0,0 +1,10 @@
FROM ubuntu:14.04
MAINTAINER Marcel Otte <qwc+docker@mmo.to>
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