Skip to main content
Glama

WritersLogic developer agents

dockerfile-cache-lint

Dockerfile build-cache and reproducibility lint — Parses a Dockerfile (continuations, escape directive, heredocs, flags, stages) and reports instruction orderings that defeat the layer cache or make rebuilds drift, for agents writing or reviewing container builds. Cache: COPY of the whole context before a dependency or package install, apt-get update in its own RUN, per-build ARG/ENV values (build date, git sha) declared before later RUN steps. R

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "dockerfile": "<dockerfile>"
    },
    "name": "dockerfile-cache-lint"
  }
}

Input Schema

NameRequiredDescriptionDefault
basePinNotag (default): flag only missing or :latest tags. digest: flag every base image not pinned by @sha256.
includeNoRule categories that decide the status. Default cache and reproducibility.
dockerfileYesDockerfile text, at most 5000 lines and 128 stages.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources