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:
Geoff Bourne
2015-01-26 03:29:35 +00:00
parent a8c3afbe88
commit 88a796bb44
3 changed files with 6 additions and 4 deletions
+3 -1
View File
@@ -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