Who just wasted about 2 hours troubleshooting why docker can't COPY a bash file with windows line endings? This guy.
And after you fix the line endings and rebuild, docker fails to redo the COPY because it thinks the file stayed the same.
Ref: https://stackoverflow.com/questions/57366007/standard-init-linux-go211-exec-user-process-caused-no-such-file-or-directory
Post
April 27, 2021