docker-terasology/Dockerfile
Marcel Otte 9473363d74 added a unused property with -D to commandline
the added property -Dterasology_variant=unstable will be used to distinguish between a stable and unstable instance on the same server
maybe there could be a added an additional property for version information or similar.
2016-10-23 10:10:15 +02:00

11 lines
576 B
Docker

FROM ubuntu:16.04
MAINTAINER Marcel Otte <qwc+docker@mmo.to>
RUN apt-get update && apt-get install -y openjdk-8-jre wget unzip
RUN mkdir /terasology \
&& wget -P /terasology http://jenkins.terasology.org/job/DistroOmega/lastSuccessfulBuild/artifact/distros/omega/build/distributions/TerasologyOmega.zip \
&& unzip /terasology/TerasologyOmega.zip -d /terasology \
&& rm -f /terasology/TerasologyOmega.zip
ENTRYPOINT java -Dterasology_variant=unstable -jar /terasology/libs/Terasology.jar -headless -homedir=/terasology/server
VOLUME /terasology/server
EXPOSE 25777