mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-07-14 12:34:54 +00:00
Issue #9: performing usermod to allow for -e provided uid of the minecraft server process
* corrected .dockerignore to allow for a $(pwd)/data for local testing of -v
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
chown -R minecraft:minecraft /data /start-minecraft
|
||||
usermod --uid $UID minecraft
|
||||
chown -R minecraft /data /start-minecraft
|
||||
exec su -s /bin/bash -c /start-minecraft minecraft
|
||||
|
||||
Reference in New Issue
Block a user