1
0
mirror of https://github.com/bplein/factorio-docker.git synced 2025-01-10 03:16:41 +02:00

Fix adduser

This commit is contained in:
Matt Smith 2018-02-03 21:15:07 +00:00 committed by GitHub
parent d6da776148
commit e53c2adc54
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,7 +25,7 @@ RUN mkdir -p /opt /factorio && \
ln -s /factorio/mods /opt/factorio/mods && \
apk del .build-deps && \
addgroup -g $PGID -S $GROUP && \
adduser -u $PUID -G $USER -s /bin/sh -SDH $GROUP && \
adduser -u $PUID -G $GROUP -s /bin/sh -SDH $USER && \
chown -R $USER:$GROUP /opt/factorio /factorio
VOLUME /factorio