diff --git a/Dockerfile b/Dockerfile index d845b66..4a2b16f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,6 +2,8 @@ FROM debian:12-slim 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 ./start.sh /app/ @@ -14,4 +16,4 @@ ENV MAX_CLIENTS 999 ENV TEAM_LOOT 1 ENV CLIENT_VERSION 171022 -ENTRYPOINT ['/bin/sh /app/start.sh'] +ENTRYPOINT ['start.sh'] diff --git a/start.sh b/start.sh index 2e9381e..01bf47b 100644 --- a/start.sh +++ b/start.sh @@ -24,6 +24,8 @@ echo "maximum_mtu_size=1228" >> /app/sharedconfig.ini echo "client_net_version=$CLIENT_VERSION" >> /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" /app/MasterServer tail -f /dev/null \ No newline at end of file