paperless-ng icon indicating copy to clipboard operation
paperless-ng copied to clipboard

Dockerfile: Fix DOS EOL on shell scripts

Open jayvdb opened this issue 1 year ago • 0 comments

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.

jayvdb avatar Jul 15 '22 03:07 jayvdb