1
0
docker-pre-commit/Dockerfile

11 lines
190 B
Docker
Raw Normal View History

2022-05-04 20:46:30 +00:00
FROM python:3-alpine
2022-05-04 20:22:56 +00:00
2022-05-04 20:55:29 +00:00
RUN apk add --no-cache git \
&& pip install pre-commit
2022-05-04 20:59:05 +00:00
&& git config --global --add safe.directory /data
2022-05-04 20:25:18 +00:00
VOLUME /data
WORKDIR /data
ENTRYPOINT ["pre-commit"]