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:
Manuel 2025-01-02 20:00:47 +01:00 committed by GitHub
parent a3396b6c87
commit 4f405ba9c4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

2
.gitattibutes Normal file
View File

@ -0,0 +1,2 @@
# Force LF line endings, needed for Docker to work on Windows
*.sh text eol=lf