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

UID / GID via ENV variables #52

Closed moooorph closed 3 years ago

moooorph commented 3 years ago

As a Linux/Docker newbie I'am struggling to setup persistent mount of the server paths with you CSGO image on my Synology Diskstation (DS218+). It seems to be an issue with the NAS user and group permissions and fixed user ID 1000 (?) of your image. It would be great to have user and group ID easy to setup via environment variables to achieve userfriendly persisten mounts.

CM2Walki commented 3 years ago

Hey man,

you can tweak the UID in the base image, however this can only be changed by rebuilding the image.

https://github.com/CM2Walki/steamcmd/blob/master/buster/Dockerfile#L7