Update docker image to ubuntu:18.04

- Update java to jre11, worked in local tests
This commit is contained in:
Marcel Otte 2019-03-10 13:19:51 +01:00
parent 73171b836f
commit eaf33e1541
2 changed files with 10 additions and 8 deletions

View File

@ -1,6 +1,6 @@
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/DistroOmegaRelease/lastSuccessfulBuild/artifact/distros/omega/build/distributions/TerasologyOmega.zip \ && wget -P /terasology http://jenkins.terasology.org/job/DistroOmegaRelease/lastSuccessfulBuild/artifact/distros/omega/build/distributions/TerasologyOmega.zip \
&& unzip /terasology/TerasologyOmega.zip -d /terasology \ && unzip /terasology/TerasologyOmega.zip -d /terasology \

View File

@ -1,6 +1,8 @@
terasology: version: '2'
image: qwick/terasology:latest services:
ports: terasology:
- 25777:25777 image: qwick/terasology:latest
volumes: ports:
- /mnt/data/docker/terasology:/terasology/server - 25777:25777
volumes:
- ./terasology:/terasology/server