Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Docker Implementation #61

Merged
merged 12 commits into from
May 3, 2024
Merged

Add Docker Implementation #61

merged 12 commits into from
May 3, 2024

Conversation

DanielDKnudsen
Copy link
Contributor

Add feature #59 and Addresses Discussion #25.

As for the issues with Docker discussed in #11, I have personally not had any issues when using a volume mounted to the container as well as running it in linux using WSL2.

This should feature should also make the setup of GCP instance, Linux and Windows a lot simpler - if they have Docker installed.

@DanielDKnudsen
Copy link
Contributor Author

@kus I've now refactored this PR a bit.

It is now working without issues. Feel free to merge/give feedback if something should be changed.

@weeestar
Copy link

Tested on Docker for Mac, and its working very well :)

@kus
Copy link
Owner

kus commented May 3, 2024

Thanks for the effort put into this @DanielDKnudsen

@kus kus merged commit d36da40 into kus:master May 3, 2024
@tklostermannNSD
Copy link

Still doesnt work for me... checkout, .env properties, docker build, docker compose up and after the game DL this:

dlopen failed trying to load:
steamclient.so
with error:
steamclient.so: cannot open shared object file: No such file or directory
dlopen failed trying to load:
/home/steam/.steam/sdk64/steamclient.so
with error:
/home/steam/.steam/sdk64/steamclient.so: cannot open shared object file: No such file or directory
[S_API] SteamAPI_Init(): Failed to load module '/home/steam/.steam/sdk64/steamclient.so'
 0 Failed to initialize Steamworks SDK for gameserver.  Failed to load module '/home/steam/.steam/sdk64/steamclient.so'
...
SteamGameServer_Init()
Failed to initialize Steamworks SDK for gameserver.  Failed to load module '/home/steam/.steam/sdk64/steamclient.so'
/home/cs2-modded-server/install_docker.sh: line 207:   264 Segmentation fault      sudo -u $user /home/steam/cs2/game/bin/linuxsteamrt64/cs2 -dedicated -console -usercon -autoupdate -tickrate $TICKRATE $IP_ARGS -port $PORT +map de_dust2 -maxplayers $MAXPLAYERS -authkey $API_KEY +sv_setsteamaccount $STEAM_ACCOUNT +game_type 0 +game_mode 0 +mapgroup mg_active

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants