Compare commits

...

44 Commits

Author SHA1 Message Date
07786290c4 Merge pull request #69 from dtandersen/update-0.15.33
Updated to version 0.15.33
2017-08-09 10:07:41 -07:00
1e5f88ffd9 update to 0.15.33 2017-08-09 16:12:14 +00:00
672101f0f7 0.15.31 is still stable 2017-08-02 09:34:10 -07:00
7b9d0f514e Merge pull request #67 from dtandersen/update-0.15.32
Updated to version 0.15.32
2017-08-02 09:30:12 -07:00
7e40c62ff6 update to 0.15.32 2017-08-02 11:57:11 +00:00
37fbaa38cf 0.15.31 is stable 2017-07-26 16:37:13 -07:00
b52a39fe03 Merge pull request #65 from dtandersen/update-0.15.31
Updated to version 0.15.31
2017-07-25 12:11:07 -07:00
4528be2297 update to 0.15.31 2017-07-25 17:07:12 +00:00
36bb311baa Merge pull request #64 from dtandersen/update-0.15.30
Updated to version 0.15.30
2017-07-14 18:21:30 +01:00
78289a5930 update to 0.15.30 2017-07-14 16:27:19 +00:00
250d5e464d Merge pull request #63 from dtandersen/update-0.15.29
Updated to version 0.15.29
2017-07-13 21:11:42 +01:00
70e61be5b6 update to 0.15.29 2017-07-13 19:42:12 +00:00
e935200821 Merge pull request #62 from dtandersen/update-0.15.28
Updated to version 0.15.28
2017-07-06 10:32:07 -07:00
add31ebe53 update to 0.15.28 2017-07-06 16:42:10 +00:00
8e20e6696b Merge pull request #61 from dtandersen/update-0.15.27
Updated to version 0.15.27
2017-07-03 11:01:28 -07:00
126669ca7a update to 0.15.27 2017-07-03 17:17:11 +00:00
67aaa41cd8 Merge pull request #59 from dtandersen/update-0.15.26
Updated to version 0.15.26
2017-07-01 08:32:40 +02:00
a61f05709e update to 0.15.26 2017-06-30 19:42:11 +00:00
0b5c4e144a Merge pull request #58 from dtandersen/update-0.15.25
Updated to version 0.15.25
2017-06-29 10:42:35 -07:00
95c45b7a39 update to 0.15.25 2017-06-29 17:22:13 +00:00
5dbb82debe Merge pull request #57 from dtandersen/update-0.15.24
Updated to version 0.15.24
2017-06-29 09:59:41 -07:00
d85de90142 update to 0.15.24 2017-06-29 10:27:12 +00:00
216ab0a7d5 Merge pull request #54 from dtandersen/update-0.15.23
Updated to version 0.15.23
2017-06-22 10:45:04 -07:00
e9c698cbc8 update to 0.15.23 2017-06-22 16:47:12 +00:00
8d0eef4e2c Merge pull request #52 from dtandersen/update-0.15.22
Updated to version 0.15.22
2017-06-22 14:10:48 +02:00
110a598ca8 update to 0.15.22 2017-06-21 16:37:12 +00:00
2f0ce132f2 Merge pull request #50 from dtandersen/update-0.15.21
Updated to version 0.15.21
2017-06-15 09:14:28 -07:00
96eff95f47 update to 0.15.21 2017-06-15 10:27:11 +00:00
6c5282b855 Merge pull request #48 from dtandersen/update-0.15.20
Updated to version 0.15.20
2017-06-14 10:16:50 -07:00
d195fdcdfc update to 0.15.20 2017-06-14 16:07:12 +00:00
d9a5fac17c Merge pull request #43 from Entroper/map-settings
Add map-settings.json config file
2017-06-08 08:36:51 -07:00
4ec6f41635 Merge pull request #44 from dtandersen/update-0.15.19
Updated to version 0.15.19
2017-06-08 08:35:16 -07:00
eb0a7410eb update to 0.15.19 2017-06-08 11:52:11 +00:00
01aeb3b1aa Add map-settings.json to README 2017-06-06 14:22:31 -04:00
91f28e34a2 add map-settings.json config file 2017-06-06 13:20:10 -04:00
7f9f640eff Merge pull request #41 from dtandersen/update-0.15.18
Updated to version 0.15.18
2017-06-02 01:58:24 -07:00
2d99b36f7e update to 0.15.18 2017-06-02 08:47:04 +00:00
5e71044728 updated to alpine 3.6 2017-06-01 18:31:53 +00:00
52dd896f3c 0.15.17 2017-06-01 11:25:14 -07:00
3a5ce81d2e Merge pull request #38 from Mettwurscht/patch-2
Update to 0.15.17
2017-06-01 11:24:24 -07:00
ad707ee2ad Update to 0.15.17 2017-06-01 15:39:01 +02:00
61fd28bb36 0.15.16 2017-05-27 12:12:43 -07:00
892a684f98 Merge pull request #36 from Mettwurscht/patch-1
Update to 0.15.16
2017-05-27 12:11:06 -07:00
a0cedba383 Update to 0.15.16 2017-05-27 20:07:37 +02:00
3 changed files with 13 additions and 7 deletions

View File

@ -1,10 +1,10 @@
FROM frolvlad/alpine-glibc:alpine-3.5
FROM frolvlad/alpine-glibc:alpine-3.6
MAINTAINER https://github.com/dtandersen/docker_factorio_server
ENV PORT=34197 \
VERSION=0.15.15 \
SHA1=b3b40bb0c28a39be3b34681521c0ccdd2fba8e6b
VERSION=0.15.33 \
SHA1=53683f8ce66e487dd75a7e30c02bdc882283d3e5
RUN mkdir /opt && \
apk add --update --no-cache tini pwgen && \

View File

@ -21,10 +21,15 @@ if [ ! -f $CONFIG/map-gen-settings.json ]; then
cp /opt/factorio/data/map-gen-settings.example.json $CONFIG/map-gen-settings.json
fi
if [ ! -f $CONFIG/map-settings.json ]; then
cp /opt/factorio/data/map-settings.example.json $CONFIG/map-settings.json
fi
if ! find -L $SAVES -iname \*.zip -mindepth 1 -print | grep -q .; then
/opt/factorio/bin/x64/factorio \
--create $SAVES/_autosave1.zip \
--map-gen-settings $CONFIG/map-gen-settings.json
--map-gen-settings $CONFIG/map-gen-settings.json \
--map-settings $CONFIG/map-settings.json
fi
exec /opt/factorio/bin/x64/factorio \

View File

@ -1,7 +1,8 @@
# Factorio [![](https://images.microbadger.com/badges/image/dtandersen/factorio.svg)](https://microbadger.com/images/dtandersen/factorio "Get your own image badge on microbadger.com") [![Docker Pulls](https://img.shields.io/docker/pulls/dtandersen/factorio.svg)](https://hub.docker.com/r/dtandersen/factorio/) [![Docker Stars](https://img.shields.io/docker/stars/dtandersen/factorio.svg)](https://hub.docker.com/r/dtandersen/factorio/)
* `0.15.15`, `0.15`, `latest` [(0.15/Dockerfile)](https://github.com/dtandersen/docker_factorio_server/blob/master/0.15/Dockerfile)
* `0.14.23`, `0.14`, `stable` [(0.14/Dockerfile)](https://github.com/dtandersen/docker_factorio_server/blob/master/0.14/Dockerfile)
* `0.15.33`, `0.15`, `latest` [(0.15/Dockerfile)](https://github.com/dtandersen/docker_factorio_server/blob/master/0.15/Dockerfile)
* `0.15.33`, `stable` [(0.15/Dockerfile)](https://github.com/dtandersen/docker_factorio_server/blob/master/0.15/Dockerfile)
* `0.14.23`, `0.14` [(0.14/Dockerfile)](https://github.com/dtandersen/docker_factorio_server/blob/master/0.14/Dockerfile)
* `0.13.20`, `0.13` [(0.13/Dockerfile)](https://github.com/dtandersen/docker_factorio_server/blob/master/0.13/Dockerfile)
*Tag descriptions*
@ -94,7 +95,7 @@ Now run the server as before. In about a minute the new version of Factorio shou
## Saves
A new map named `_autosave1.zip` is generated the first time the server is started. The `map-gen-settings.json` file in `/tmp/factorio/config` is used for the map settings. On subsequent runs the newest save is used.
A new map named `_autosave1.zip` is generated the first time the server is started. The `map-gen-settings.json` and `map-settings.json` files in `/tmp/factorio/config` are used for the map settings. On subsequent runs the newest save is used.
To load an old save stop the server and run the command `touch oldsave.zip`. This resets the date. Then restart the server. Another option is to delete all saves except one.