ci: .gitattributes - Ensure eol=lf for shell scripts#3755
ci: .gitattributes - Ensure eol=lf for shell scripts#3755polarathene merged 2 commits intomasterfrom
.gitattributes - Ensure eol=lf for shell scripts#3755Conversation
- These files should always use LF for line endings. - `Dockerfile` does not like building with HereDoc `RUN` scripts that expect LF.
|
Shouldn't this take care of all file types, not explicitly configured? |
It does in the sense of the
Until I can switch back to linux or use VMs again, this is my lazy way of addressing the issue when I hit failure due to line endings being incorrect. Technically, we probably could do Not sure if there would be any files in the project that would actually need |
|
TIL cloning a repo does not just copy all files 1:1 (without any conversion) 😆 You might give |
Description
Dockerfiledoes not like building with HereDocRUNscripts that expect LF.Cloned on Windows, but ran Docker build from WSL2 which failed as Windows checkout used CRLF:
Type of change
Checklist:
CHANGELOG.md