[mc] Upgrade base image to java:8

This commit is contained in:
Geoff Bourne
2016-02-20 18:05:41 -06:00
parent 7651cc658e
commit afa25e582d
2 changed files with 3 additions and 18 deletions
-15
View File
@@ -1,15 +0,0 @@
#!/bin/sh
set -e
usermod --uid $UID minecraft
groupmod --gid $GID minecraft
chown -R minecraft:minecraft /data /start-minecraft
chmod -R g+wX /data /start-minecraft
while lsof -- /start-minecraft; do
echo -n "."
sleep 1
done
echo "...switching to user 'minecraft'"
exec sudo -E -u minecraft /start-minecraft