Get server from site and removed some files

This commit is contained in:
Christophe Vandekerchove 2016-03-04 13:35:29 +01:00
parent 677dc983e8
commit 94494299ee

View File

@ -4,11 +4,16 @@ MAINTAINER zopanix@gmail.com
WORKDIR /opt
COPY ./factorio.tar.gz /opt
COPY ./smart_launch.sh /opt
RUN tar -xzf factorio.tar.gz
RUN apt-get update && \
apt-get install -y curl && \
curl -o factorio.tar.gz https://www.factorio.com/get-download/0.12.25/headless/linux64 &&\
tar -xzf factorio.tar.gz && \
rm -rf factorio.tar.gz && \
apt-purge-build &&\
apt-clean
CMD ["./smart_launch.sh"]