From 94494299ee482325c98de0ba8016f14512615dba Mon Sep 17 00:00:00 2001 From: Christophe Vandekerchove Date: Fri, 4 Mar 2016 13:35:29 +0100 Subject: [PATCH] Get server from site and removed some files --- Dockerfile | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 06d469e..4e61240 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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"]