This project aims to provide a simple Docker image to encapsulate and run a Understand analysis through Docker.
Assuming current directory contains the source code to analyze, simply run the following command:
docker run --rm -v ${PWD}:/src facthunder/understand:latest und create -languages c++ -db understand-database.udb
docker run --rm -v ${PWD}:/src facthunder/understand:latest und settings -AddMode Relative -db understand-database.udb
docker run --rm -v ${PWD}:/src facthunder/understand:latest und add -db understand-database.udb .
docker run --rm -v ${PWD}:/src facthunder/understand:latest und analyze -db understand-database.udb
docker run --rm -v ${PWD}:/src facthunder/understand:latest und codecheck -flattentree -db understand-database.udb UnderstandCodecheckConfiguration.ini .
Here is the versions matrix of the image:
TAG | UNDERSTAND VERSION | BASE IMAGE |
---|---|---|
latest | 1029 | python:3.8.5-slim-buster |
1029 | 1029 | python:3.8.5-slim-buster |
1004 | 1004 | python:3.8.5-slim-buster |
If you experienced a problem with the plugin please open an issue. Inside this issue please explain us how to reproduce this issue and paste the log.
If you want to do a PR, please put inside of it the reason of this pull request. If this pull request fix an issue please insert the number of the issue or explain inside of the PR how to reproduce this issue.
Copyright 2020 Facthunder.
Licensed under the GNU General Public License, Version 3.0