Skip to content

Commit e0992e1

Browse files
committed
ci: enforce LF for shell scripts (protect the Docker entrypoint)
1 parent b1fd728 commit e0992e1

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.gitattributes

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Shell scripts and the all-in-one entrypoint MUST stay LF — CRLF breaks the
2+
# shebang inside the Linux container ("bad interpreter: /usr/bin/env bash^M").
3+
*.sh text eol=lf
4+
deploy/allinone/entrypoint.sh text eol=lf
5+
localapp/serve.py text eol=lf

0 commit comments

Comments
 (0)