This project is based on https://github.com/qossmic/deptrac, so credits go to them! For bugs in deptrac contact them. For any issues with this docker image go a head and contact me via https://github.com/ohartl/docker-deptrac/issues
Mount your project directory to the /app
volume
docker run --rm -v $PWD:/app ohartl/deptrac
# which is equivalent to
docker run --rm -v $PWD:/app ohartl/deptrac analyze
No problem, you can just pass any of the deptrac commands at the end.
docker run --rm -v $PWD:/app ohartl/deptrac init
Why not to use https://hub.docker.com/r/smoench/deptrac-action ?
- It still uses php 7.4, this image uses php 8.0
- It's build does not verify the source with the gpg key