Skip to content
docker image for PMD SAST
Dockerfile Shell
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.dockerignore
Dockerfile
LICENSE
README.md
cpd
pmd

README.md

PMD docker image (abzcoding/pmd)

Docker image for PMD, an extensible cross-language static code analyzer.

This image can be used to run PMD (static code analysis) and CPD (copy-paste detection).

Getting started

Prerequisites

In order to run this container you'll need docker installed.

Usage

ex: Java analysis with custom rulesets

docker run -v $PWD:/src abzcoding/pmd pmd -language java -dir . -rulesets ./my-rulesets.xml

ex: Apex analysis with builtin rulesets

docker run -v $PWD:/src abzcoding/pmd pmd -language apex -dir . -rulesets rulesets/apex/rulset.xml

Volumes

  • /src/ - default working directory

Contributing

The Github repository is located at abzcoding/docker-pmd

Versioning

We use PMD version numbers to version the images.

License

Credit to doy that made this possible This project is licensed under the MIT License - see the LICENSE.md file for details.

You can’t perform that action at this time.