Skip to content

Commit

Permalink
Ensure *.sh are LF-style, so that they can be used directly by Docker…
Browse files Browse the repository at this point in the history
… for Windows (#5793)
  • Loading branch information
chjfth authored Jul 2, 2024
1 parent 59ad091 commit b8999e3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Ensure that .sh scripts use LF as line separator, even if they are checked out
# to Windows(NTFS) file-system, by a user of Docker for Window.
# These .sh scripts will be run from the Container after `docker compose up -d`.
# If they appear to be CRLF style, Dash from the Container will fail to execute
# them.

*.sh text eol=lf

0 comments on commit b8999e3

Please sign in to comment.