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.
This commit is contained in:
Marcel Otte 2016-10-23 10:10:15 +02:00
parent abdfd02986
commit 9473363d74
1 changed files with 1 additions and 1 deletions

View File

@ -5,6 +5,6 @@ RUN mkdir /terasology \
&& wget -P /terasology http://jenkins.terasology.org/job/DistroOmega/lastSuccessfulBuild/artifact/distros/omega/build/distributions/TerasologyOmega.zip \ && wget -P /terasology http://jenkins.terasology.org/job/DistroOmega/lastSuccessfulBuild/artifact/distros/omega/build/distributions/TerasologyOmega.zip \
&& unzip /terasology/TerasologyOmega.zip -d /terasology \ && unzip /terasology/TerasologyOmega.zip -d /terasology \
&& rm -f /terasology/TerasologyOmega.zip && rm -f /terasology/TerasologyOmega.zip
ENTRYPOINT java -jar /terasology/libs/Terasology.jar -headless -homedir=/terasology/server ENTRYPOINT java -Dterasology_variant=unstable -jar /terasology/libs/Terasology.jar -headless -homedir=/terasology/server
VOLUME /terasology/server VOLUME /terasology/server
EXPOSE 25777 EXPOSE 25777