Unpack files directly

This commit is contained in:
paul 2020-08-12 12:42:27 +02:00
parent 838efad3ff
commit baa838b833

View file

@ -16,8 +16,8 @@ RUN \
USER factorio
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
wget -O- https://www.factorio.com/get-download/$FACTORIO_VERSION/headless/linux64 \
|tar xvz -C /opt/factorio/headless
VOLUME /opt/factorio/saves