1
0
docker-pre-commit/Dockerfile
bunix42 800a067638
Some checks are pending
continuous-integration/drone/push Build is running
Update 'Dockerfile'
2022-05-05 09:07:40 +00:00

13 lines
294 B
Docker

FROM python:3-slim
RUN apt-get update && apt-get install -y \
git \
docker \
&& rm -rf /var/lib/apt/lists/*
RUN pip install --no-cache-dir pre-commit docker-compose
RUN mkdir -p /data/pre-commit-cache
ENV PRE_COMMIT_HOME=/data/pre-commit-cache
CMD ["pre-commit", "run", "--all-files"]