Pin container build files to LF via .gitattributes
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>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
2d20f6f29c
commit
6ef15a9e80
@@ -0,0 +1,6 @@
|
|||||||
|
# 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
|
||||||
Reference in New Issue
Block a user