mirror of
https://github.com/factoriotools/factorio-docker.git
synced 2025-06-26 20:18:09 +02:00
Add support for changing UID/GID (#216)
* Add support for changing UID/GID * Revert volume definition in docker-compose file
This commit is contained in:
committed by
Florian Kinder
parent
2ffac3c4a8
commit
288f080ebc
@ -15,10 +15,12 @@ ENV PORT=34197 \
|
||||
CONFIG=/factorio/config \
|
||||
MODS=/factorio/mods \
|
||||
SCENARIOS=/factorio/scenarios \
|
||||
SCRIPTOUTPUT=/factorio/script-output
|
||||
SCRIPTOUTPUT=/factorio/script-output \
|
||||
PUID=$PUID \
|
||||
PGID=$PGID
|
||||
|
||||
RUN mkdir -p /opt /factorio && \
|
||||
apk add --update --no-cache pwgen su-exec binutils gettext libintl && \
|
||||
apk add --update --no-cache pwgen su-exec binutils gettext libintl shadow && \
|
||||
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 && \
|
||||
|
Reference in New Issue
Block a user