docker-php-pre-commit/Dockerfile.common
2024-02-29 20:05:17 +01:00

9 lines
255 B
Docker

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