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:
parent
828cd0cccf
commit
730243a154
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user