Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Shell scripts must keep LF endings even when checked out on Windows.
#
# With core.autocrlf=true these get CRLF on checkout, which turns the shebang
# into `#!/bin/bash\r`. Linux containers then fail to exec them with the very
# unhelpful "no such file or directory" -- entrypoint.sh, the Druid spec
# submitter and the MinIO bucket init all break this way.
*.sh text eol=lf

# Same reasoning: these are executed inside containers.
Dockerfile text eol=lf
Dockerfile.* text eol=lf
*.dockerfile text eol=lf