Hackebein / docker-srcds

Dockerfiles for all Source Dedicated Servers
https://hub.docker.com/r/hackebein/srcds/
11 stars 3 forks source link

Add option to disable steamcmd validation #5

Closed FlorianFreudiger closed 3 years ago

FlorianFreudiger commented 3 years ago

An option to disable the steamcmd validation would be great, it would

Hackebein commented 3 years ago

An option to disable the steamcmd validation would be great, it would

  • Reduce the startup time of the server, for example if you have to restart often to test changes.

Good idea. I'll add that later in the day.

  • Allow changing downloaded files (e.g. files inside garrysmod/gamemodes) since the "-validate" option will discard changes. I have tried mounting my changed files as read-only but steamcmd will then fail with error 0x602. While a normal update to those files would still fail, the files I am changing haven't been modified in years and if they ever get updated I can reapply my changes myself.

I took already care about this option. You can mount your files into /opt/overlay to overwrite them. This files getting copied over on each start. https://github.com/Hackebein/docker-srcds/blob/027608f52cee0377e0c3e3882495eda7f5ea4b32/entrypoint.sh#L160

FlorianFreudiger commented 3 years ago

In general it would be good to be able to adjust the steamcmd parameters, for example for users which like to install a different language

FlorianFreudiger commented 3 years ago

I took already care about this option. You can mount your files into /opt/overlay to overwrite them. This files getting copied over on each start. https://github.com/Hackebein/docker-srcds/blob/027608f52cee0377e0c3e3882495eda7f5ea4b32/entrypoint.sh#L160

Thanks for the quick response, I missed those settings 👍 (Maybe you could add it to the readme of docker-garrysmod)

Hackebein commented 3 years ago

Maybe you could add it to the readme of docker-garrysmod

It's there. Not directly but it's there. In the last line of readme it says You can found more configuration options on the parent image page hackebein/srcds. It's only liked because i don't wanna copy&paste all possible options from readme to readme to readme.

Hackebein commented 3 years ago

app_update parameter got moved.

Thanks for the feedback :)