GameServerManagers / LinuxGSM-Docker

The Official LinuxGSM Docker image (experimental)
https://linuxgsm.com
MIT License
169 stars 73 forks source link

When running docker image and running container it shows errors in entrypoint.sh #70

Open rodrigogregorioneri opened 2 years ago

rodrigogregorioneri commented 2 years ago

When running docker image and running container it shows errors in entrypoint.sh file:

entrypoint.sh: line 2: $'\r': command not found entrypoint.sh: line 3: syntax error near unexpected token $'{\r'' 'ntrypoint.sh: line 3:exit_handler () {

csabca83 commented 1 year ago

When running docker image and running container it shows errors in entrypoint.sh file:

entrypoint.sh: line 2: $'\r': command not found entrypoint.sh: line 3: syntax error near unexpected token $'{\r'' 'ntrypoint.sh: line 3:exit_handler () {

Convert CR-LF to LF with something like VScode and rebuild the image. That solved the problem for me.