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

Disable auto line ending conversion in Windows Dockerfiles #31

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

aknuds1
Copy link

@aknuds1 aknuds1 commented Oct 29, 2020

We (Grafana Labs) have been having test failures on Windows due to automatic conversion of line endings to CRLF on Windows. I tracked it down to being caused by the Git config parameter core.autocrlf being set to true in the Windows Docker image of the Drone Git plugin. This PR proposes to disable the parameter, so line endings aren't altered by Git on checkout.

I tested the image and it solves our issue.

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
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