- FROM node:lts
- WORKDIR /work
- ADD package.json .
- RUN npm install --production
- ADD check-some-are-unignored.sh .
- ADD check-vcs-changes.sh .
- ADD ignore-check.js .
- RUN sed -i -e 's/[\r]//g' ./check-*.sh
- RUN chmod +x ./check-*.sh
- ENTRYPOINT /work/check-vcs-changes.sh
|