Skip to content

Conversation

@nativegold
Copy link

When entrypoint.sh is edited on Windows, the file may end up with Windows-style line endings (CRLF).
This can cause the script to fail when the Docker container starts, because the shell inside the container expects Unix-style line endings (LF).

To prevent this, we should update .gitattributes to ensure all shell scripts use LF:

*.sh text eol=lf

This will guarantee that entrypoint.sh (and any other .sh files) work correctly in Docker environments regardless of the host OS.

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.

1 participant