Docker container to install and run checkmarx
- Install the rvannauker/checkmarx container:
docker pull rvannauker/checkmarx
- Run checkmarx through the checkmarx container:
sudo docker run -v ${PWD}:/usr/src --net=host "rvannauker/checkmarx" Scan -CxServer {server} -ProjectName {projectName} -CxUser {username} -CxPassword {password} -Incremental -LocationType {location_type} -LocationPath {location_path} -LocationPathExclude "{exclude_paths}" -v
To run, test and develop the CHECKMARX Dockerfile itself, you must use the source directly:
- Download the source:
git clone https://github.com/RichVRed/docker-checkmarx.git
- Build the container:
sudo docker build --force-rm --tag "rvannauker/checkmarx" --file checkmarx.dockerfile .
- Test running the container:
$ docker run rvannauker/checkmarx --help