initial commit
This commit is contained in:
commit
d62bc29f2d
4 changed files with 100 additions and 0 deletions
18
Dockerfile
Normal file
18
Dockerfile
Normal file
|
@ -0,0 +1,18 @@
|
|||
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 \
|
||||
wget -O /tmp/headless.tgz https://www.factorio.com/get-download/0.15.5/headless/linux64 &&\
|
||||
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"]
|
Loading…
Add table
Add a link
Reference in a new issue