mirror of
https://github.com/luzifer-docker/factorio.git
synced 2024-11-08 14:50:03 +00:00
Factorio-Server 0.15.33
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
594dd3679a
commit
45ac85f4b2
1 changed files with 4 additions and 3 deletions
|
@ -1,17 +1,18 @@
|
|||
FROM debian
|
||||
|
||||
ENV FACTORIO_SERVER_VERSION 0.14.22
|
||||
ENV FACTORIO_SERVER_VERSION 0.15.33
|
||||
|
||||
ENTRYPOINT ["/opt/defaults/start.sh"]
|
||||
EXPOSE 34197/udp
|
||||
|
||||
ADD https://www.factorio.com/get-download/${FACTORIO_SERVER_VERSION}/headless/linux64 /tmp/factorio.tgz
|
||||
ADD . /opt/defaults
|
||||
|
||||
RUN set -ex \
|
||||
&& apt-get update && apt-get install -y curl xz-utils \
|
||||
&& mkdir -p /opt \
|
||||
&& useradd -d /opt/factorio -M -u 10000 factorio \
|
||||
&& tar -C /opt -x -z -f /tmp/factorio.tgz \
|
||||
&& curl -sSLfo /tmp/factorio.tgz https://www.factorio.com/get-download/${FACTORIO_SERVER_VERSION}/headless/linux64 \
|
||||
&& tar -C /opt -x -J -f /tmp/factorio.tgz \
|
||||
&& chown -R factorio:factorio /opt/factorio \
|
||||
&& rm /tmp/factorio.tgz
|
||||
|
||||
|
|
Loading…
Reference in a new issue