removing zip now, for smaller image size

This commit is contained in:
Marcel Otte 2016-01-10 12:46:45 +01:00
parent a2e73e4e86
commit a61cc79486
1 changed files with 2 additions and 1 deletions

View File

@ -3,7 +3,8 @@ 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-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
ENTRYPOINT java -jar /terasology/libs/Terasology.jar -headless -homedir=/terasology/server ENTRYPOINT java -jar /terasology/libs/Terasology.jar -headless -homedir=/terasology/server
VOLUME /terasology/server VOLUME /terasology/server
EXPOSE 25777 EXPOSE 25777