drone-pre-commit/Dockerfile
Ian Fijolek 642e37dc27
All checks were successful
continuous-integration/drone/push Build is passing
Base: pre-commit patch version bump
2021-02-17 10:51:24 -08:00

9 lines
187 B
Docker

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