Docker builds from the working tree, so a CRLF checkout of entrypoint.sh (from core.autocrlf) would break the shebang inside Alpine and inject \r into the AIO Dockerfile's heredoc-generated supervisord.conf. Force LF on shell scripts and Dockerfiles. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
7 lines
311 B
Plaintext
7 lines
311 B
Plaintext
# Container build files must stay LF regardless of the checkout platform —
|
|
# Docker builds from the working tree, and CRLF breaks a shell script's shebang
|
|
# inside Alpine (and corrupts heredoc-generated configs in the AIO Dockerfile).
|
|
*.sh text eol=lf
|
|
Dockerfile text eol=lf
|
|
entrypoint.sh text eol=lf
|