updated entrypoint-xaseco

This commit is contained in:
Hendrik Boll 2019-05-12 15:34:02 +02:00
parent d9bc25ec7b
commit abb1bec479
3 changed files with 3 additions and 2 deletions

Binary file not shown.

View File

@ -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

View File

@ -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