Compare commits

...

4 Commits

Author SHA1 Message Date
Marcel Otte 8536a2ff73 Add installPath 2021-01-09 18:24:38 +01:00
Marcel Otte 355fcc2b99 Update to ubuntu:18.04 and jdk11 2019-03-10 13:27:21 +01:00
Marcel d085e15c66
Fix for PathManager issue 2018-07-04 20:32:05 +02:00
Marcel Otte 726eeb7f2d Removing any existing versionInfo.properties now. 2018-04-03 21:14:37 +02:00
3 changed files with 5 additions and 4 deletions

View File

@ -1,10 +1,10 @@
FROM ubuntu:16.04 FROM ubuntu:18.04
MAINTAINER Marcel Otte <qwc+docker@mmo.to> MAINTAINER Marcel Otte <qwc+docker@mmo.to>
RUN apt-get update && apt-get install -y openjdk-8-jre wget unzip RUN apt-get update && apt-get install -y openjdk-11-jre wget unzip
RUN mkdir /terasology \ 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 -Dterasology_variant=unstable -jar /terasology/libs/Terasology.jar -headless -homedir=/terasology/server ENTRYPOINT cd /terasology && java -Dterasology_variant=unstable -jar /terasology/libs/Terasology.jar -headless -homedir=/terasology/server -installPath=/terasology
VOLUME /terasology/server VOLUME /terasology/server
EXPOSE 25777 EXPOSE 25777

View File

@ -1,5 +1,6 @@
#!/bin/bash #!/bin/bash
rm versionInfo.properties*
wget http://jenkins.terasology.org/job/Terasology/lastSuccessfulBuild/artifact/build/resources/main/org/terasology/version/versionInfo.properties wget http://jenkins.terasology.org/job/Terasology/lastSuccessfulBuild/artifact/build/resources/main/org/terasology/version/versionInfo.properties

View File

@ -3,4 +3,4 @@ terasology:
ports: ports:
- 25777:25777 - 25777:25777
volumes: volumes:
- /mnt/data/docker/terasology:/terasology/server - ./terasology:/terasology/server