Compare commits
No commits in common. "8536a2ff73272b872741fadbef63ce142801049c" and "5e1311dc338bd709adc62d92aa975866fa60141c" have entirely different histories.
8536a2ff73
...
5e1311dc33
|
@ -1,10 +1,10 @@
|
||||||
FROM ubuntu:18.04
|
FROM ubuntu:16.04
|
||||||
MAINTAINER Marcel Otte <qwc+docker@mmo.to>
|
MAINTAINER Marcel Otte <qwc+docker@mmo.to>
|
||||||
RUN apt-get update && apt-get install -y openjdk-11-jre wget unzip
|
RUN apt-get update && apt-get install -y openjdk-8-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 cd /terasology && java -Dterasology_variant=unstable -jar /terasology/libs/Terasology.jar -headless -homedir=/terasology/server -installPath=/terasology
|
ENTRYPOINT java -Dterasology_variant=unstable -jar /terasology/libs/Terasology.jar -headless -homedir=/terasology/server
|
||||||
VOLUME /terasology/server
|
VOLUME /terasology/server
|
||||||
EXPOSE 25777
|
EXPOSE 25777
|
||||||
|
|
1
build.sh
1
build.sh
|
@ -1,6 +1,5 @@
|
||||||
#!/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
|
||||||
|
|
||||||
|
|
|
@ -3,4 +3,4 @@ terasology:
|
||||||
ports:
|
ports:
|
||||||
- 25777:25777
|
- 25777:25777
|
||||||
volumes:
|
volumes:
|
||||||
- ./terasology:/terasology/server
|
- /mnt/data/docker/terasology:/terasology/server
|
||||||
|
|
Loading…
Reference in New Issue