This will put the output to ./build-coverity. You can then commit the results to the coverity database from that directory, or view the results in ./build-coverity/html. For example, you can start an nginx container:
docker run -it --rm -p 8080:80 --name web -v $(pwd)/build-coverity/html:/usr/share/nginx/html nginx
and then view results in your browser at http://<host>:8080/.
tdnf - tiny dandified yum
In order to compile, from the checkout directory, run the following
Do enable debugging symbols (useful for use with
gdb
), use:You can also build tdnf using docker using the following commands:
create a conf file named
tdnf.conf
under/etc/tdnf/
with the following contentNow configure repo files under
/etc/yum.repos.d
or your repodir following.repo
format of dnf/yum.You should now have a client executable named tdnf under
bin/
. To test run:You should see a list of installed packages and their related info
Testing
To build and run the test scripts within a container, do:
Same for
Coverity
Assuming you have coverity installed on
/pathto/coverity
, you can run:This will put the output to
./build-coverity
. You can then commit the results to the coverity database from that directory, or view the results in./build-coverity/html
. For example, you can start an nginx container:and then view results in your browser at
http://<host>:8080/
.