updated entrypoint-xaseco
This commit is contained in:
parent
d9bc25ec7b
commit
abb1bec479
Binary file not shown.
|
@ -5,8 +5,8 @@ RUN mkdir /opt/xaseco
|
||||||
COPY xaseco/ /opt/xaseco/
|
COPY xaseco/ /opt/xaseco/
|
||||||
COPY ./entrypoint-xaseco.sh /
|
COPY ./entrypoint-xaseco.sh /
|
||||||
|
|
||||||
RUN apt update -y \
|
RUN apt update \
|
||||||
&& apt upgrade -y \
|
&& apt upgrade -y
|
||||||
RUN groupadd trackmania
|
RUN groupadd trackmania
|
||||||
RUN useradd -M -g trackmania trackmania
|
RUN useradd -M -g trackmania trackmania
|
||||||
RUN chown -R trackmania:trackmania /opt/xaseco
|
RUN chown -R trackmania:trackmania /opt/xaseco
|
||||||
|
|
|
@ -16,6 +16,7 @@ fi
|
||||||
if [[ -z "${MASTERADMIN_LOGIN}" ]]
|
if [[ -z "${MASTERADMIN_LOGIN}" ]]
|
||||||
then
|
then
|
||||||
echo "No ingame MasterAdmin was specified."
|
echo "No ingame MasterAdmin was specified."
|
||||||
|
MASTERADMIN_LOGIN=""
|
||||||
fi
|
fi
|
||||||
if [[ -z "${SERVER_SA_PASSWORD}" ]]
|
if [[ -z "${SERVER_SA_PASSWORD}" ]]
|
||||||
then
|
then
|
||||||
|
|
Loading…
Reference in New Issue