mirror of
https://github.com/smittix/intercept.git
synced 2026-05-17 13:24:50 -07:00
fix: add .gitattributes to enforce LF line endings for shell scripts
Docker containers crash on startup when shell scripts have CRLF line endings (from Windows git checkout with core.autocrlf=true). The start.sh gunicorn entrypoint fails with "$'\r': command not found". Add .gitattributes forcing eol=lf for *.sh and Dockerfile so Docker builds work regardless of the developer's git line ending config. Also normalizes two scripts that were committed with CRLF. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
3
.gitattributes
vendored
Normal file
3
.gitattributes
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
# Force LF line endings for files that must run on Linux (Docker)
|
||||
*.sh text eol=lf
|
||||
Dockerfile text eol=lf
|
||||
Reference in New Issue
Block a user