fix Dockerfile

This commit is contained in:
Marcel Otte 2021-07-08 08:51:27 +02:00
parent b0eb16edec
commit b20b6abf3b
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@ FROM ubuntu:18.04
MAINTAINER Marcel Otte <qwc+docker@mmo.to>
RUN apt-get update && apt-get install -y openjdk-11-jre wget unzip
RUN mkdir /terasology \
&& wget -P /terasology http://jenkins.terasology.io/teraorg/job/Terasology/job/Omega/job/develop/lastSuccessfulBuild/artifact/distros/omega/build/distributions/TerasologyOmega.zip
&& wget -P /terasology http://jenkins.terasology.io/teraorg/job/Terasology/job/Omega/job/develop/lastSuccessfulBuild/artifact/distros/omega/build/distributions/TerasologyOmega.zip \
&& unzip /terasology/TerasologyOmega.zip -d /terasology \
&& rm -f /terasology/TerasologyOmega.zip
ENTRYPOINT cd /terasology && java -Dterasology_variant=unstable -jar /terasology/libs/Terasology.jar -headless -homedir=/terasology/server -installPath=/terasology