Skip to content

Conversation

bwRavencl
Copy link

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.

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.
@wborn
Copy link

wborn commented Mar 29, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants