Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix line endings of entrypoint script on Windows #42

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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