drone-git icon indicating copy to clipboard operation
drone-git copied to clipboard

Disable auto line ending conversion in Windows Dockerfiles

Open aknuds1 opened this issue 3 years ago • 0 comments

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.

aknuds1 avatar Oct 29 '20 08:10 aknuds1