From 7df9f7a1db048844b62043167063a66d7309fb49 Mon Sep 17 00:00:00 2001 From: Brennan Kinney <5098581+polarathene@users.noreply.github.com> Date: Thu, 17 Oct 2024 08:49:03 +1300 Subject: [PATCH] chore: Add `Dockerfile` to `.gitattributes` Ensures that a git clone / checkout for Windows users will keep `LF` as the line endings for `Dockerfile`. This is required for the HEREDOC feature to work correctly. --- .gitattributes | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitattributes b/.gitattributes index a35b0915..c3e5884a 100644 --- a/.gitattributes +++ b/.gitattributes @@ -5,6 +5,8 @@ *.sh text eol=lf supervisor.conf text eol=lf systemd.service text eol=lf +# Using the HEREDOC feature expects LF: +Dockerfile text eol=lf ############################################################################### # Set default behavior for command prompt diff. #