Install nano into the image

Show server starting message just before java launch
This commit is contained in:
Geoff Bourne 2019-05-13 18:21:38 -05:00
parent be17faf065
commit 0ca336505d
2 changed files with 3 additions and 1 deletions

View File

@ -15,6 +15,7 @@ RUN apk add --no-cache -U \
mysql-client \
tzdata \
rsync \
nano \
python python-dev py2-pip
RUN pip install mcstatus

View File

@ -114,7 +114,8 @@ else
if [ -f /data/bootstrap.txt ]; then
bootstrapArgs="--bootstrap /data/bootstrap.txt"
fi
echo "Starting the Minecraft server..."
JVM_OPTS="-Xms${INIT_MEMORY} -Xmx${MAX_MEMORY} ${JVM_OPTS}"
exec mc-server-runner ${bootstrapArgs} ${mcServerRunnerArgs} java $JVM_XX_OPTS $JVM_OPTS $expandedDOpts -jar $SERVER "$@" $EXTRA_ARGS
fi