Skip to content
This repository has been archived by the owner on Feb 16, 2023. It is now read-only.

Dockerfile: Fix DOS EOL on shell scripts #1718

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

Conversation

jayvdb
Copy link

@jayvdb jayvdb commented Jul 15, 2022

If the repo is checked out with git "autocrlf" enabled, the DOS EOLs cause the scripts to not be executable.
https://willi.am/blog/2016/08/11/docker-for-windows-dealing-with-windows-line-endings/ explains it.

I'm happy to move dos2unix into the relevant RUN command and purge it at the end of the RUN. I havent done that as this is a tiny program.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant