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:
StealthCT
2024-03-03 02:57:47 +00:00
committed by GitHub
parent afde97243d
commit bd76f1c541
2 changed files with 8 additions and 6 deletions

View File

@ -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