Commit b7b44af
chore: force LF on shell scripts and Dockerfile via .gitattributes (#38)
Windows clients with core.autocrlf=true convert *.sh files to CRLF on
checkout. When the entrypoint.sh is COPY'd into the Linux container
image and executed, the shebang becomes "#!/usr/bin/env bash\r" which
breaks with `/usr/bin/env: 'bash\r': No such file or directory`,
preventing the container from starting.
A .gitattributes file pins these file types to LF regardless of client
autocrlf settings, so the Docker image is reproducible across Windows,
macOS, and Linux contributors.
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent fabdea0 commit b7b44af
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
0 commit comments