JacobDomagala / StaticAnalysis

GitHub action performs static analysis on C++/Python code, flags issues, and posts comments directly on PRs.
MIT License
31 stars 10 forks source link

How to custom the docker container? #42

Closed ghost closed 2 years ago

ghost commented 2 years ago

I want to use it in the Archlinux system, how do it?

skrobinson commented 2 years ago

The only way I know to use a custom Docker image is to fork StaticAnalysis (SA) and make changes to Dockerfile. Look in docker/static_analysis.dockerfile for a list of additional software SA needs installed in the Docker image.

Version differences between Ubuntu/Debian packages and Archlinux packages may cause SA to not work in the new image.

Good luck and let us know how Archlinux works out.

JacobDomagala commented 2 years ago

For now it runs only on Ubuntu (https://github.com/JacobDomagala/StaticAnalysis/blob/master/docker/static_analysis.dockerfile).

If having multiple docker files is something people would want, we could potentially have some kind of user input to specify which docker file should be used.

JacobDomagala commented 2 years ago

So I'm closing this issue for now