Browse Source

Fix windows endline breaking shebang.

Herby Vojčík 4 years ago
parent
commit
21b2a0aa21
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Dockerfile

+ 1 - 0
Dockerfile

@@ -4,5 +4,6 @@ ADD package.json .
 RUN npm install --production
 ADD check-some-are-unignored.sh .
 ADD check-vcs-changes.sh .
+RUN sed -i -e 's/[\r]//g' ./check-*.sh
 RUN chmod +x ./check-*.sh
 ENTRYPOINT /work/check-vcs-changes.sh