CM2Walki / CSGO

Dockerfile for automated build of a CS:GO gameserver: https://hub.docker.com/r/cm2network/csgo/
https://CM2.Network
MIT License
249 stars 74 forks source link

Passing -condebug to execution? #39

Closed Devidian closed 4 years ago

Devidian commented 4 years ago

Greetings,

i'm currently looking for a solution to start with -condebug without editing entry.sh after every deployment or set entrypoint in my composer file. Is it possible that you could add some "ADDITIONAL_ARGS" env where i can pass "-condebug". I need that for a project my company is working on currently and i would like to use your docker container and not creating my own :)

CM2Walki commented 4 years ago

See https://github.com/CM2Walki/CSGO/commit/662d89e5f7770e337bd7fa452ebd53d6cc59cc44.

Try latest with:

-e ADDITIONAL_ARGS="-condebug"

It should work as intended. Note that if you want to use a string parameter with ADDITIONAL_ARGS, you will probably need to escape it quiet a bit:

-e ADDITIONAL_ARGS="-condebug +mapchangecfgfile \"someconfig.cfg\""
CM2Walki commented 4 years ago

@Devidian is this what you were looking for?

Devidian commented 4 years ago

Yeah Looks good Just could Not Test it as i am currently on vacation.Am 11.09.2020 12:47 schrieb "Walentin L." notifications@github.com: @Devidian is this what you were looking for?

—You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or unsubscribe.

Devidian commented 4 years ago

Just tested it and confirm its working as needed, thanks for the fast solution! Great work!