1
0
mirror of https://github.com/bplein/factorio-docker.git synced 2025-01-10 03:16:41 +02:00

Fixing tar issues

This commit is contained in:
Christophe Vandekerchove 2016-03-04 15:15:28 +01:00
parent 89ef301d3d
commit 87d1c4b0a3

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