dockersamples / example-voting-app

Example distributed app composed of multiple containers for Docker, Compose, Swarm, and Kubernetes
Apache License 2.0
4.75k stars 10.99k forks source link

Adding a git attributes file to avoid EOL issues #292

Closed julienadam closed 1 month ago

julienadam commented 1 year ago

CRLF in .sh healthcheck scripts seems to causes failures. git clone with default parameters on Windows would change all line endings to CRLF. The .gitattributes file makes sure the LF line endings are preserved for .sh files.