Skip to content

Commit

Permalink
update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
mariusraupach committed Jan 9, 2025
1 parent f9592a0 commit 3cff568
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
FROM cm2network/steamcmd

ENV DOORSTOP_ENABLE=TRUE
ENV DOORSTOP_INVOKE_DLL_PATH=./BepInEx/core/BepInEx.Preloader.dll
ENV DOORSTOP_CORLIB_OVERRIDE_PATH=./unstripped_corlib
ENV DOORSTOP_INVOKE_DLL_PATH=/home/steam/valheim-dedicated-server/BepInEx/core/BepInEx.Preloader.dll
ENV DOORSTOP_CORLIB_OVERRIDE_PATH=/home/steam/valheim-dedicated-server/unstripped_corlib

ENV LD_LIBRARY_PATH="./doorstop_libs:$LD_LIBRARY_PATH"
ENV LD_PRELOAD="libdoorstop_x64.so:$LD_PRELOAD"
ENV LD_LIBRARY_PATH="/home/steam/valheim-dedicated-server/doorstop_libs:/home/steam/valheim-dedicated-server/linux64:$LD_LIBRARY_PATH"

Check warning on line 7 in Dockerfile

View workflow job for this annotation

GitHub Actions / build

Variables should be defined before their use

UndefinedVar: Usage of undefined variable '$LD_LIBRARY_PATH' More info: https://docs.docker.com/go/dockerfile/rule/undefined-var/
ENV LD_PRELOAD="/home/steam/valheim-dedicated-server/doorstop_libs/libdoorstop_x64.so:$LD_PRELOAD"

Check warning on line 8 in Dockerfile

View workflow job for this annotation

GitHub Actions / build

Variables should be defined before their use

UndefinedVar: Usage of undefined variable '$LD_PRELOAD' More info: https://docs.docker.com/go/dockerfile/rule/undefined-var/

ENV LD_LIBRARY_PATH=/home/steam/valheim-dedicated-server/linux64:$LD_LIBRARY_PATH
ENV SteamAppID=892970

USER root
Expand Down

0 comments on commit 3cff568

Please sign in to comment.