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

Dockerfile: Fix DOS EOL on shell scripts#1718

Open
jayvdb wants to merge 1 commit intojonaswinkler:masterfrom
jayvdb:docker-script-dos2unix
Open

Dockerfile: Fix DOS EOL on shell scripts#1718
jayvdb wants to merge 1 commit intojonaswinkler:masterfrom
jayvdb:docker-script-dos2unix

Conversation

@jayvdb
Copy link
Copy Markdown

@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.

1 participant