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"]