fix libaries
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Aaron Riedel 2023-11-08 20:01:10 +02:00
parent e0f378b20d
commit b3d78f2654
Signed by: aaron
GPG key ID: 643004654D40D577
2 changed files with 5 additions and 1 deletions

View file

@ -2,6 +2,8 @@ FROM debian:12-slim
WORKDIR /app WORKDIR /app
RUN apt-get update -qq && apt-get install -qq libmariadb3 --no-install-recommends && rm -rf /var/lib/apt/lists/*
COPY ./DarkflameServer/build /app COPY ./DarkflameServer/build /app
COPY ./start.sh /app/ COPY ./start.sh /app/
@ -14,4 +16,4 @@ ENV MAX_CLIENTS 999
ENV TEAM_LOOT 1 ENV TEAM_LOOT 1
ENV CLIENT_VERSION 171022 ENV CLIENT_VERSION 171022
ENTRYPOINT ['/bin/sh /app/start.sh'] ENTRYPOINT ['start.sh']

View file

@ -24,6 +24,8 @@ echo "maximum_mtu_size=1228" >> /app/sharedconfig.ini
echo "client_net_version=$CLIENT_VERSION" >> /app/sharedconfig.ini echo "client_net_version=$CLIENT_VERSION" >> /app/sharedconfig.ini
echo "default_team_loot=$TEAM_LOOT" >> /app/sharedconfig.ini echo "default_team_loot=$TEAM_LOOT" >> /app/sharedconfig.ini
echo "set folder for shared libaries"
export LD_LIBRARY_PATH=/app
echo "start Server" echo "start Server"
/app/MasterServer /app/MasterServer
tail -f /dev/null tail -f /dev/null