Skip to content
Fourohtwo

Lint a Dockerfile

agent-data-tools.revmesh2074.workers.dev/dockerfile/lint

Lint a Dockerfile. Check a Dockerfile (up to 8,000 characters) for common security and image-size problems: unpinned or :latest base images, running as root, piping downloads into a shell, sensitive values baked into ENV or ARG, ADD from URLs, apt and pip cache left in layers, sudo, chmod 777 and an exposed SSH port. Returns each finding with its line, a severity and a fix, plus a score. Use befor

BasePolygonArbitrumSolanaAnswering
GEThttps://agent-data-tools.revmesh2074.workers.dev/dockerfile/lint

Uptime100% of 1 check in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://agent-data-tools.revmesh2074.workers.dev/dockerfile/lint?dockerfile=FROM+node%3Alatest%0ACOPY+.+%2Fapp%0ACMD+node+%2Fapp%2Fserver.js");
console.log(await res.json());

Example input

{
  "dockerfile": "FROM node:latest\nCOPY . /app\nCMD node /app/server.js"
}