{"uid":"cap_1OUVtd9QiJqqGX6j_J41b","slug":"bot-bazaar-dockerfile-linter-dde4c2ab","name":"Bot Bazaar Dockerfile Linter","description":"Lint Dockerfile settings (pinned non-latest base image tag, slim/distroless image, non-root USER, pip --no-cache-dir).","url":"https://bot-bazaar.fly.dev/v1/x402/dockerfile-lint?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","properties":{"base_image":{"type":"string","description":"Container base image tag"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_yLQnLwDVjoGpo5B9NRhm4","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Lints a Dockerfile's base image tag for best practices: pinned non-latest tag, slim/distroless variant, non-root USER directive, and pip --no-cache-dir flag.","exampleAgentPrompt":"Can you lint my Dockerfile's base image — I'm using python:3.11-slim — and check if it follows best practices like a pinned non-latest tag, slim or distroless variant, non-root user, and pip --no-cache-dir?","exampleUseCases":[{"title":"CI pipeline Docker image audit","prompt":"Before we push to production, lint the base image python:3.11-slim-bullseye in our Dockerfile and tell me if it's pinned, uses a slim variant, avoids root, and has the pip no-cache flag set correctly."},{"title":"Security review for container image","prompt":"I need to check if our container base image node:18-alpine meets Docker security best practices — specifically whether it's pinned, uses a distroless or slim variant, and isn't running as root."},{"title":"Developer onboarding Dockerfile check","prompt":"A new developer just wrote a Dockerfile using ubuntu:latest as the base image — can you lint it and flag any issues with the image tag, user permissions, or caching settings?"}],"resultDescription":"Returns a structured lint report for the given container base image tag, flagging: whether the tag is pinned (not 'latest'), whether the image uses a slim or distroless variant, whether a non-root USER directive is expected, and whether pip --no-cache-dir is configured. Each check typically includes a pass/fail status and a description of the finding.","failureModes":["Missing base_image query parameter returns an error","Invalid or unrecognized image tag format may return no useful lint output","Payment required (HTTP 402) if x402 payment header is absent or insufficient","Endpoint may not be aware of very new or private registry images"],"whenToPreferThis":"Use this endpoint when you need a quick, automated lint check of a Dockerfile's base image configuration against a specific set of Docker best-practice rules (pinned tags, slim/distroless images, non-root user, pip caching). It is ideal for CI/CD pipelines, pre-commit hooks, or agent-driven code review workflows where a lightweight per-check microservice is preferred over a full local linting toolchain.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T19:07:17.951Z","isFirstParty":false,"canonicalSlug":"bot-bazaar-dockerfile-linter-dde4c2ab"}