Skip to content

Commit

Permalink
Set version to 0.12.35 and refactor
Browse files Browse the repository at this point in the history
Set version of factorio to 0.12.35
Refactor image to make it more light weight
  • Loading branch information
Christophe Vandekerchove committed Jul 6, 2016
1 parent b9a40b1 commit d43af49
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 98 deletions.
10 changes: 5 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ MAINTAINER zopanix <zopanix@gmail.com>
WORKDIR /opt

COPY ./new_smart_launch.sh /opt
COPY ./factorio.crt /opt

VOLUME /opt/factorio/saves /opt/factorio/mods

Expand All @@ -14,13 +13,14 @@ ENV FACTORIO_AUTOSAVE_INTERVAL=2 \
FACTORIO_ALLOW_COMMANDS=false \
FACTORIO_NO_AUTO_PAUSE=false \
FACTORIO_LATENCY_MS=100 \
VERSION=0.13.4 \
FACTORIO_SHA1=6150d66178c60c0487905e664648f755ff26a252 \
VERSION=0.13.5 \
FACTORIO_SHA1=34d2601e463995a035ebb882ef0e304c11d50249 \
FACTORIO_WAITING=false \
FACTORIO_MODE=normal

RUN apk --update add bash curl && \
curl -sSL --cacert /opt/factorio.crt https://www.factorio.com/get-download/$VERSION/headless/linux64 -o /tmp/factorio_headless_x64_$VERSION.tar.gz && \
ADD https://www.factorio.com/get-download/$VERSION/headless/linux64 /tmp/factorio_headless_x64_$VERSION.tar.gz

RUN apk --update add bash && \
echo "$FACTORIO_SHA1 /tmp/factorio_headless_x64_$VERSION.tar.gz" | sha1sum -c && \
tar xzf /tmp/factorio_headless_x64_$VERSION.tar.gz && \
rm /tmp/factorio_headless_x64_$VERSION.tar.gz
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@ Factorio Server in docker

Current Version
-----
0.13.4
0.13.5
### What's new ?
#### Factorio
See [factorio's site](http://www.factorio.com)
#### Docker image
* Refactoring of docker image, will be a bit smaller
* IMPORTANT: Factorio has changed a lot, I've refactored the image

Versions
Expand Down
92 changes: 0 additions & 92 deletions factorio.crt

This file was deleted.

0 comments on commit d43af49

Please sign in to comment.