mirror of
https://github.com/factoriotools/factorio-docker.git
synced 2025-06-25 11:38:00 +02:00
Swap to Debian slim baseimage (#469)
* Swap to Debian slim baseimage Co-authored-by: Sandro <sandro.jaeckel@gmail.com> * Only install necessary packages --------- Co-authored-by: Doridian <git@doridian.net> Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
@ -50,7 +50,7 @@ if [[ $(id -u) = 0 ]]; then
|
||||
# Take ownership of factorio data if running as root
|
||||
chown -R factorio:factorio "$FACTORIO_VOL"
|
||||
# Drop to the factorio user
|
||||
SU_EXEC="su-exec factorio"
|
||||
SU_EXEC="runuser -u factorio -g factorio --"
|
||||
else
|
||||
SU_EXEC=""
|
||||
fi
|
||||
|
Reference in New Issue
Block a user