use su-exec instead of gosu; don't use example map settings

This commit is contained in:
David Andersen
2019-02-26 21:13:05 +00:00
parent bf128afdb4
commit b840e86d21
2 changed files with 5 additions and 4 deletions

View File

@@ -18,7 +18,7 @@ ENV PORT=34197 \
SCRIPTOUTPUT=/factorio/script-output
RUN mkdir -p /opt /factorio && \
apk add --update --no-cache pwgen && \
apk add --update --no-cache pwgen su-exec && \
apk add --update --no-cache --virtual .build-deps curl && \
curl -sSL https://www.factorio.com/get-download/$VERSION/headless/linux64 \
-o /tmp/factorio_headless_x64_$VERSION.tar.xz && \