Skip to content
Docker CAT is a quality analysis platform including CNES plugins and configurations.
Shell Dockerfile
Branch: master
Clone or download
Latest commit 198234d Apr 16, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
conf .docker-compose swap removal Jul 18, 2018
.dockerignore Makefile is not used Jan 31, 2019
.travis.yml Add Travis-CI support Nov 19, 2018
Dockerfile Upgrade Sonar CNES Scan Plugin version May 13, 2019
README.md Update tool version May 13, 2019
configure-cat.bash Disable SonarSource Telemetry May 13, 2019
docker-compose.yml using image instead of build by default Sep 27, 2018
init.bash initial commit Jun 12, 2018

README.md

docker-cat

Docker Code Analysis Tools (CAT) is a SonarQube docker image containing configuration to realize code analysis.

Quick install

Step by step :

Find group IDs to allow SonarQube analysis to (for Sonar CNES Scan plugin):

  • Using getent group <group_name> | cut -d : -f3 to reach a group id from a known group name;
  • Using cat /etc/groupto list all group IDs.

Run a container :

docker pull lequal/docker-cat
docker run -v <host_project_folder>:/media/sf_Shared:rw -p 9000:9000 -p 9001:9001 -e ALLOWED_GROUPS="<GID_1>;<GID_2>;<GID_...>" lequal/docker-cat

Once the container is active, use the Sonar CNES Scan plugin documentation to run an analysis.

Content

Analysis tools

  • Sonarqube 6.7.4
  • Sonar scanner 3.0.3
  • gcc latest
  • make latest
  • cppcheck latest
  • vera++ latest
  • expat 2.0.1
  • rats 2.4
  • Python :
    • python 2.7.13
    • colorama 0.3.3
    • python-lazy-object-proxy 1.2.1
    • python-six 1.9.0
    • wrapt 1.10.5
    • astroid 1.4.9
    • pylint 1.5
    • cnes-pylint-extension 1.0
    • python-setuptools latest

SonarQube extensions

  • Sonar CNES Report 2.1.0

SonarQube plugins

  • Checkstyle sonar plugin 3.7
  • Sonar CNES CXX plugin 1.1
  • Sonar CNES Export plugin 1.1
  • Sonar CNES Python plugin 1.1
  • Sonar CNES Scan plugin 1.3
  • Sonar Corbetura plugin 1.9.1
  • Sonar C# plugin 6.1.0.2359
  • Sonar CXX plugin 0.9.7
  • Sonar Findbugs plugin
  • Sonar Flex plugin
  • Sonar Java plugin 4.11.0.10660
  • Sonar JavaScript plugin 3.1.1.5128
  • Sonar PHP plugin 2.10.0.2087
  • Sonar PMD plugin 2.6
  • Sonar Python plugin 1.8.0.149
You can’t perform that action at this time.