Fix Line Ending Issues for Shell Scripts in Docker for Windows 10 (#2932)
Shell scripts like entry_point.sh caused errors in Docker due to CRLF line endings on Windows (`exec /tmp/entry_point.sh: no such file or directory`). Added `.gitattributes` to enforce LF line endings for *.sh files. This resolves the issue and ensures consistent behavior across platforms.
This commit is contained in:
parent
a3396b6c87
commit
4f405ba9c4
2
.gitattibutes
Normal file
2
.gitattibutes
Normal file
@ -0,0 +1,2 @@
|
||||
# Force LF line endings, needed for Docker to work on Windows
|
||||
*.sh text eol=lf
|
||||
Loading…
Reference in New Issue
Block a user