{
  "name": "hadolint-lint",
  "title": "Lint a Dockerfile",
  "category": "CI/CD",
  "tags": [
    "ci-cd",
    "hadolint"
  ],
  "version": "1.0.0",
  "date": "2026-10-18",
  "notes": "Initial release.",
  "latest": true,
  "installable": true,
  "url": "https://catalog.dagweave.com/api/v1/items/hadolint-lint/1.0.0.json",
  "templateUrl": "https://catalog.dagweave.com/api/v1/items/hadolint-lint/1.0.0/template.yaml",
  "entrypoint": "lint",
  "parameters": [
    {
      "name": "dockerfile",
      "title": "Dockerfile",
      "description": "Path to the Dockerfile.",
      "type": "string",
      "required": false,
      "default": "/work/Dockerfile"
    },
    {
      "name": "failure-threshold",
      "title": "Failure threshold",
      "description": "Lowest severity that fails the step.",
      "type": "string",
      "required": false,
      "default": "warning",
      "enum": [
        "error",
        "warning",
        "info",
        "style"
      ]
    }
  ],
  "images": [
    {
      "ref": "hadolint/hadolint@sha256:32dac94127fd60b7b7e3fbfc65e1383b9b5e25c9bfd7b8536de7a539fe68a12d",
      "repository": "hadolint/hadolint",
      "tag": "v2.15.1",
      "digest": "sha256:32dac94127fd60b7b7e3fbfc65e1383b9b5e25c9bfd7b8536de7a539fe68a12d"
    }
  ],
  "install": {
    "kubectl": "kubectl apply -n argo -f https://catalog.dagweave.com/api/v1/items/hadolint-lint/1.0.0/template.yaml",
    "argo": "argo template create -n argo https://catalog.dagweave.com/api/v1/items/hadolint-lint/1.0.0/template.yaml"
  },
  "template": "apiVersion: argoproj.io/v1alpha1\nkind: WorkflowTemplate\nmetadata:\n  name: hadolint-lint\n  labels:\n    dagweave.io/catalog-item: hadolint-lint\n  annotations:\n    dagweave.io/catalog-version: \"1.0.0\"\n    dagweave.io/catalog-category: \"CI/CD\"\nspec:\n  entrypoint: lint\n  templates:\n    - name: lint\n      inputs:\n        parameters:\n          - name: dockerfile\n            default: \"/work/Dockerfile\"\n          - name: failure-threshold\n            default: \"warning\"\n      container:\n        # hadolint/hadolint:v2.15.1\n        image: hadolint/hadolint@sha256:32dac94127fd60b7b7e3fbfc65e1383b9b5e25c9bfd7b8536de7a539fe68a12d\n        command: [/bin/hadolint]\n        args:\n          - --no-color\n          - --failure-threshold\n          - \"{{inputs.parameters.failure-threshold}}\"\n          - \"{{inputs.parameters.dockerfile}}\"\n        resources:\n          requests:\n            cpu: 50m\n            memory: 64Mi\n          limits:\n            memory: 256Mi\n",
  "templateSha256": "560ef53ce88d12d9da46ca2082e3f9e7f72df619dfa0043114b962210b7558b9",
  "source": "https://github.com/dagweave/catalog/tree/67458f74dbbf913b03177f3cefc69424be85eb1d/catalog/hadolint-lint",
  "catalogSha": "67458f74dbbf913b03177f3cefc69424be85eb1d"
}
