drone-pre-commit/Dockerfile
Ian Fijolek ffb543020d
All checks were successful
continuous-integration/drone/push Build is passing
Bump pre-commit to 2.10.0
2021-02-05 12:25:13 -08:00

9 lines
172 B
Docker

FROM python:3
RUN mkdir -p /data/pre-commit-cache
ENV PRE_COMMIT_HOME=/data/pre-commit-cache
RUN pip install pre-commit==2.10.0
CMD ["pre-commit", "run", "--all-files"]