Skip to content

Latest commit

 

History

History
30 lines (25 loc) · 739 Bytes

runbook.md

File metadata and controls

30 lines (25 loc) · 739 Bytes

building

python -m venv .venv
source .venv/bin/activate
docker build -t vonwig/pre-commit .
docker run -it --rm \
           -v $PWD:/project \
           -v /var/run/docker.sock:/var/run/docker.sock \
           --mount "type=volume,source=chatsdlc,target=/config" \
           --mount "type=volume,source=chatsdlc-cache,target=/.cache" \
           vonwig/pre-commit
docker run -it --rm \
           -v $PWD:/project \
           -v /var/run/docker.sock:/var/run/docker.sock \
           --mount "type=volume,source=chatsdlc,target=/config" \
           --mount "type=volume,source=chatsdlc-cache,target=/.cache" \
           --entrypoint /app/result/bin/bash \
           vonwig/pre-commit