fix: force LF line endings for shell scripts (#1017)
docker/entrypoint.sh runs under dash inside the container image. A Windows checkout with core.autocrlf=true rewrites it to CRLF, and dash aborts at startup because the carriage return becomes part of the -e flag argument.
This commit is contained in:
parent
c2d8cf3a72
commit
a915d298f2
|
|
@ -0,0 +1,5 @@
|
|||
# Shell entrypoints are executed with sh/dash inside the container image. A
|
||||
# Windows checkout with core.autocrlf=true rewrites them to CRLF, and dash
|
||||
# then aborts with "set: Illegal option" because the carriage return becomes
|
||||
# part of the "-e" flag argument (docker/entrypoint.sh).
|
||||
*.sh text eol=lf
|
||||
Loading…
Reference in New Issue