opendarkeden / server

42 stars 32 forks source link

Dockerfile possibly changed from LF to CRLF #49

Open rafakave opened 3 years ago

rafakave commented 3 years ago

It seems that in my previous #43 pull request I may have accidentally changed Dockerfile's format from Unix to Windows (LF to CRLF).

Since friday I started having issues with the Docker environment (and possibly others are having aswell). If that is the problem indeed, I'm reverting it back to LF and requesting a pull. Also, I'll add a .gitattributes file to manage this behaviour and prevent such issue in the future.

BASH SCRIPTS NOT RUNNING

root@2bfd8a928f8f:/home/darkeden/vs/bin# ./start.sh
bash: ./start.sh: /bin/sh^M: bad interpreter: No such file or directory
tiancaiamao commented 3 years ago

Oops!

tiancaiamao commented 3 years ago

You can use vi to edit it.

:set ff=unix
:wq