From 121f1465e38b13ef8e99f0f4fbbada3b18d94151 Mon Sep 17 00:00:00 2001 From: Liam Raven Date: Sun, 5 Sep 2021 10:56:21 +1000 Subject: [PATCH] Update Dockerfile --- Dockerfile | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 858802b..1196e15 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,14 +13,18 @@ USER factorio ENV HOME /opt/factorio ENV SAVEFILE /opt/factorio/saves/factorio_save.zip -ENV MAPSETTINGS /opt/factorio/map-gen-settings.json +ENV MAPGENSETTINGS /opt/factorio/map-gen-settings.json +ENV MAPSETTINGS /opt/factorio/map-settings.json ENV SERVERSETTINGS /opt/factorio/server-settings.json WORKDIR /opt/factorio -RUN wget -q -O - https://factorio.com/get-download/stable/headless/linux64 | grep -o -m1 "/get-download/.*/headless/linux64" | awk '{print "--no-check-certificate https://www.factorio.com"$1" -O /tmp/factorio.tar.gz"}' | xargs wget \ - && tar -xzf /tmp/factorio.tar.gz -C /opt \ - && rm -rf /tmp/factorio.tar.gz +RUN wget -q -O - https://factorio.com/get-download/stable/headless/linux64 \ + | grep -o -m1 "/get-download/.*/headless/linux64" \ + | awk '{print "--no-check-certificate https://www.factorio.com"$1" -q -O /tmp/factorio.tar.gz"}' \ + | xargs wget \ + && tar -xzf /tmp/factorio.tar.gz -C /opt \ + && rm -rf /tmp/factorio.tar.gz ADD map-gen-settings.json /opt/factorio/ ADD server-settings.json /opt/factorio/