Run the latest version on CodeChecker with Docker and Docker Compose.
- docker
- docker-compose
To build the required images:
$ git clone [email protected]:esstorm/codechecker-docker.git
$ cd codechecker-docker
$ docker-compose build
$ docker-compose up
You should now be able to open the CodeChecker Web Viewer on your host machine.
Directory ./src inside the repo is mounted to /home/casper/src on the container. This is a good place to put the sources for the packages you want to build.
For the postgres container, ./database_data is mounted as a volume into /var/lib/postgresql/data.
To start a shell inside the codechecker container:
# Start a shell
$ docker exec -it codechecker /bin/bash
# Try running CodeChecker
(venv) $ CodeChecker --help
The official CodeChecker repo can be found here:
Ericsson/codechecker
vishnubob/wait-for-it