docker-php-pre-commit/Dockerfile.common

9 lines
255 B
Text
Raw Normal View History

2024-02-29 17:44:55 +01:00
RUN mkdir /src && \
git config --global --add safe.directory /src
COPY .pre-commit-config.yaml .yamllint.yml .codespellrc fake_php_project /src/
RUN cd /src && \
git init && \
git add * && \
pre-commit run --all-files && \
rm -fr /src