lengrufeng2008/dsh-dockerfile-lint ↗★ 0
dsh-dockerfile-lint
Static Dockerfile heuristics for DSH: base tags, root user, sudo, remote shell, apt hygiene, remote ADD, secret-like args.
설치
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:lengrufeng2008/dsh-dockerfile-lintDockerfile Lint for DSH
Fast static Dockerfile heuristics: base tag, root user, sudo, remote shell, apt hygiene, remote ADD, secret-like build args, missing
.dockerignore.
Use
node bin/dsh-dockerfile-lint.mjs Dockerfile
node bin/dsh-dockerfile-lint.mjs Dockerfile --json
In DSH:
Use dockerfile_lint with the Dockerfile path.
Limits
- Static heuristics only; not a security audit, image scan, or build test
- Small rule set; false positives/negatives are possible
- Does not run Docker or inspect layers
Tests
npm test
Provenance
A small independent static checker. License: MIT.