Klasse DockerLintParser

Alle implementierten Schnittstellen:
Serializable

public class DockerLintParser extends JsonIssueParser
A parser for dockerlint json output.

Possible usage via docker is:

<pre> docker run -it --rm -v $PWD:/root/ \ projectatomic/dockerfile-lint \ dockerfile_lint -j -f Dockerfile. </pre>
Autor:
Andreas Mandel
Siehe auch:
  • Konstruktordetails

    • DockerLintParser

      public DockerLintParser()
  • Methodendetails

    • parseJsonObject

      protected void parseJsonObject(Report report, org.json.JSONObject jsonReport, IssueBuilder issueBuilder)
      Beschreibung aus Klasse kopiert: JsonIssueParser
      Parses the specified JSON object and populates the provided report with all issues.
      Setzt außer Kraft:
      parseJsonObject in Klasse JsonIssueParser
      Parameter:
      report - the report to fill
      jsonReport - the input JSON report given as JSON object
      issueBuilder - build to be used to create issues