drone-pre-commit/Dockerfile
2020-09-08 10:02:15 -07:00

9 lines
171 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.7.0
CMD ["pre-commit", "run", "--all-files"]