How can I use CodeChecker parse
in docker codechecker-web:latest
#3201
-
Is your feature request related to a problem? Please describe. Describe the solution you would like |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
@CPythoner The codechecker-web image is built only from the web part of the CodeChecker. The CodeChecker parse command can be found in the analyze part, so this image doesn't support running this command inside a container. The main purpose of this image is to run a CodeChecker web server. You can create an build your own image based on our Dockerfile. codechecker/web/docker/Dockerfile Line 27 in 4a1fcdf to this one to build the whole CodeChecker: RUN make -C /codechecker package
You also have to install other dependencies such as There is also a PR which can be useful for you. Also we have a snap package what you can use to install CodeChecker easily. You can install it in your host machine or you can install it inside your docker image. |
Beta Was this translation helpful? Give feedback.
@CPythoner The codechecker-web image is built only from the web part of the CodeChecker. The CodeChecker parse command can be found in the analyze part, so this image doesn't support running this command inside a container.
The main purpose of this image is to run a CodeChecker web server. You can create an build your own image based on our Dockerfile.
In this file you should change this line:
codechecker/web/docker/Dockerfile
Line 27 in 4a1fcdf
to this one to build the whole CodeChecker:
RUN make -C /codechecker package
You also have to install other dependencies such as
gcc
to build the logger and you also have to install analyzers…