From 6ef15a9e805bc68de2f508fa6e4c4d6ea86ddab2 Mon Sep 17 00:00:00 2001 From: tajniak81 <13187254+tajniak81@users.noreply.github.com> Date: Sun, 19 Jul 2026 19:17:23 +0200 Subject: [PATCH] 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 --- .gitattributes | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..c5d0467 --- /dev/null +++ b/.gitattributes @@ -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