Add .gitattributes to use LF line-endings for *.sh files (#11)
This fixes the PostgreSQL setup when using Windows as Docker host. Because git by default will transform all files to Windows line-endings on clone, the files mounted inside the Linux based PostgreSQL container can't be read correctly and the initialisation fails. Closes #10.
This commit is contained in:
parent
b9178714cc
commit
74513aad0c
1
.gitattributes
vendored
Normal file
1
.gitattributes
vendored
Normal file
@ -0,0 +1 @@
|
||||
*.sh text eol=lf
|
3
.gitignore
vendored
3
.gitignore
vendored
@ -1,5 +1,6 @@
|
||||
# hidden files
|
||||
# hidden files, exluding gitattributes
|
||||
.*
|
||||
!.gitattributes
|
||||
|
||||
# data folder
|
||||
/data
|
||||
|
Loading…
Reference in New Issue
Block a user