2020-09-08 17:00:20 +00:00
|
|
|
FROM python:3
|
|
|
|
|
|
|
|
RUN mkdir -p /data/pre-commit-cache
|
|
|
|
ENV PRE_COMMIT_HOME=/data/pre-commit-cache
|
|
|
|
|
2021-02-17 18:51:24 +00:00
|
|
|
RUN pip install --no-cache-dir pre-commit==2.10.1
|
2020-09-08 17:00:20 +00:00
|
|
|
|
|
|
|
CMD ["pre-commit", "run", "--all-files"]
|