Changed debian to latest stable, added java JRE to apt install, changed start.sh so you can use your own path for server executable

This commit is contained in:
Thijn Geurts 2019-01-09 19:27:31 +01:00
parent 828cd0cccf
commit 730243a154
2 changed files with 3 additions and 2 deletions

View File

@ -1,4 +1,4 @@
FROM debian:jessie FROM debian:stable
MAINTAINER Thijn <thijn@viceunderdogs.com> MAINTAINER Thijn <thijn@viceunderdogs.com>
@ -7,6 +7,7 @@ RUN apt-get update && apt-get install -y \
wget \ wget \
unzip \ unzip \
p7zip \ p7zip \
openjdk-8-jre-headless \
&& adduser --disabled-password --home /home/container container && adduser --disabled-password --home /home/container container
USER container USER container

View File

@ -36,6 +36,6 @@ fi
MODIFIED_STARTUP=`echo ${STARTUP} | perl -pe 's@\{\{(.*?)\}\}@$ENV{$1}@g'` MODIFIED_STARTUP=`echo ${STARTUP} | perl -pe 's@\{\{(.*?)\}\}@$ENV{$1}@g'`
./mpsvrrel64 ${MODIFIED_STARTUP} ${MODIFIED_STARTUP}
exit 0 exit 0