Fixing tar issues

This commit is contained in:
Christophe Vandekerchove 2016-03-04 15:15:28 +01:00
parent 23c26f83ae
commit 0cab74d578

View File

@ -6,12 +6,15 @@ WORKDIR /opt
COPY ./smart_launch.sh /opt COPY ./smart_launch.sh /opt
RUN apt-get update && \ RUN echo "# Installing WGET" && \
apt-get install -y wget && \ apt-get update && \
wget --no-check-certificate -o factorio.tar.gz https://www.factorio.com/get-download/0.12.25/headless/linux64 &&\ apt-get install -y curl && \
tar -xf factorio.tar.gz && \ echo "# Downloading and unzipping factorio" && \
rm -rf factorio.tar.gz && \ curl -L -k https://www.factorio.com/get-download/0.12.25/headless/linux64 | tar -xzf - && \
apt-purge-build &&\ echo "# Cleaning" && \
apt-get remove -y --purge curl && \
apt-get autoremove --purge && \
apt-purge-build && \
apt-clean apt-clean