This project aims to provide a simple Docker image to encapsulate and run a Understand analysis through Docker.
Images are now hosted directly on GitHub:
docker pull ghcr.io/cnescatlab/understand:latest
Assuming current directory contains the source code to analyze, simply run the following command:
docker run --rm -v ${PWD}:/src ghcr.io/cnescatlab/understand:latest und create -languages c++ -db understand-database.udb
docker run --rm -v ${PWD}:/src ghcr.io/cnescatlab/understand:latest und settings -AddMode Relative -db understand-database.udb
docker run --rm -v ${PWD}:/src ghcr.io/cnescatlab/understand:latest und add -db understand-database.udb .
docker run --rm -v ${PWD}:/src ghcr.io/cnescatlab/understand:latest und analyze -db understand-database.udb
docker run --rm -v ${PWD}:/src ghcr.io/cnescatlab/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 | 1004 | python:3.8.5-slim-buster |
5.1.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 2022 CNES CatLab.
Licensed under the GNU General Public License, Version 3.0