factorio/Dockerfile

19 lines
508 B
Text
Raw Normal View History

2017-04-30 21:58:44 +02:00
FROM debian:jessie
EXPOSE 34197/udp
RUN \
apt-get --yes update &&\
apt-get --yes install wget xz-utils &&\
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
WORKDIR /root/
RUN \
2017-10-15 20:31:07 +02:00
wget -O /tmp/headless.tgz https://www.factorio.com/get-download/0.15.34/headless/linux64 &&\
2017-04-30 21:58:44 +02:00
tar xfv /tmp/headless.tgz && rm /tmp/headless.tgz
ADD bin/entrypoint.sh /entrypoint.sh
ADD default-config.json config/default.json
ENTRYPOINT ["/entrypoint.sh"]
CMD ["--server-settings", "config/default.json"]