.
This commit is contained in:
parent
ed08899f9e
commit
67f7b18ea7
@ -77,6 +77,11 @@ RUN \\
|
|||||||
"#!/bin/sh -x" \\
|
"#!/bin/sh -x" \\
|
||||||
"set -e" \\
|
"set -e" \\
|
||||||
"id" \\
|
"id" \\
|
||||||
|
"mkdir -p /factorio \${SAVES} \${CONFIG} \${MODS} \${SCENARIOS} \${SCRIPT_OUTPUT}" \\
|
||||||
|
"[ ! -f \"\${CONFIG}/rconpw\" ] && printf '%s' \"\$(pwgen 15 1)\" > \${CONFIG}/rconpw" \\
|
||||||
|
"[ ! -f \"\${CONFIG}/server-settings.json\" ] && cp /opt/factorio/data/server-settings.example.json \${CONFIG}/server-settings.json" \\
|
||||||
|
"[ ! -f \"\${CONFIG}/map-gen-settings.json\" ] && cp /opt/factorio/data/map-gen-settings.example.json \${CONFIG}/map-gen-settings.json" \\
|
||||||
|
"[ ! -f \"\${CONFIG}/map-settings.json\" ] && cp /opt/factorio/data/map-settings.example.json \${CONFIG}/map-settings.json" \\
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user