mirror of
https://github.com/LpmRaven/factorio-docker-server.git
synced 2024-11-30 08:06:56 +02:00
Update Dockerfile
Use Parameter -m1 to use only the newest version
This commit is contained in:
parent
008189f628
commit
28d4254f23
@ -6,7 +6,7 @@ RUN apt-get update \
|
||||
&& apt-get install -y wget \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN wget -q -O - https://www.factorio.com/download-headless/stable | grep -o "/get-download/.*/headless/linux64" | awk '{print "--no-check-certificate https://www.factorio.com"$1" -O /tmp/factorio.tar.gz"}' | xargs wget \
|
||||
RUN wget -q -O - https://www.factorio.com/download-headless/stable | 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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user