crossbuild icon indicating copy to clipboard operation
crossbuild copied to clipboard

Fix line endings of entrypoint script on Windows

Open bwRavencl opened this issue 4 years ago • 1 comments

Use dos2unix to ensure that the line endings of the entrypoint script are automatically corrected.

Please check out https://willi.am/blog/2016/08/11/docker-for-windows-dealing-with-windows-line-endings/ for more details regarding this issue.

bwRavencl avatar Mar 03 '20 19:03 bwRavencl

It might be better to add a .gitattributes file to the repo instead with text eol=lf for such files so the files are always cloned with the correct line endings.

See: https://help.github.com/en/github/using-git/configuring-git-to-handle-line-endings

wborn avatar Mar 29 '20 20:03 wborn