Update to 0.16.18 and some fixed.

This commit is contained in:
madmaurice 2018-09-23 20:09:54 +02:00 committed by Hive
parent 1b6dca13e3
commit f7d726461c
4 changed files with 15 additions and 76 deletions

View file

@ -1,7 +1,7 @@
FROM debian:stretch
EXPOSE 34197/udp
ENV FACTORIO_VERSION 0.15.34
ENV FACTORIO_VERSION 0.16.18
ADD bin/entrypoint.sh /entrypoint.sh
@ -19,9 +19,9 @@ RUN \
wget -O /tmp/headless.tgz https://www.factorio.com/get-download/$FACTORIO_VERSION/headless/linux64 &&\
tar xfv /tmp/headless.tgz -C /opt/factorio/headless && rm /tmp/headless.tgz
ADD default-config.json /opt/factorio/headless/factorio/config/default.json
VOLUME /opt/factorio/saves
WORKDIR /opt/factorio
ENTRYPOINT ["/entrypoint.sh"]
CMD ["--server-settings", "config/config.json","--map-gen-settings","config/mapgen.json","--map-settings","config/map.json"]
CMD ["--server-settings", "/opt/factorio/config/config.json","--map-gen-settings","/opt/factorio/config/mapgen.json","--map-settings","/opt/factorio/config/map.json"]