Compare commits
4 Commits
5e1311dc33
...
8536a2ff73
Author | SHA1 | Date | |
---|---|---|---|
8536a2ff73 | |||
355fcc2b99 | |||
|
d085e15c66 | ||
726eeb7f2d |
@ -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
|
||||||
|
1
build.sh
1
build.sh
@ -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
|
||||||
|
|
||||||
|
@ -3,4 +3,4 @@ terasology:
|
|||||||
ports:
|
ports:
|
||||||
- 25777:25777
|
- 25777:25777
|
||||||
volumes:
|
volumes:
|
||||||
- /mnt/data/docker/terasology:/terasology/server
|
- ./terasology:/terasology/server
|
||||||
|
Loading…
x
Reference in New Issue
Block a user