# replicatedhq/dockerfilelint

An opinionated Dockerfile linter.

Repository: https://github.com/replicatedhq/dockerfilelint
Canonical: https://ross.abutalabs.com/products/dockerfilelint
Homepage: https://www.fromlatest.io
Language: JavaScript
License: MIT
License Family: permissive
Topics: dockerfile, linter
Last push: 2023-09-27T20:58:01+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 3861, "days_push": 1071, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1034, forks 82 (observed 2026-08-28T04:03:18.684697+00:00)

## What it is
dockerfilelint is an opinionated Node.js linter that analyzes Dockerfiles for common mistakes and enforces best practices. It runs as a CLI, an npm module, or a Docker container, with configurable rules and JSON or CLI output.

## Use cases
- lint dockerfiles for best practices
- find common mistakes in dockerfile
- validate dockerfile before building images
- check dockerfile for latest tag usage
- enforce dockerfile rules in ci
- lint dockerfile contents from stdin

## When to choose
- you want an opinionated, ready-made set of Dockerfile checks without configuration
- you need a CLI or Docker-based linter that integrates easily into CI pipelines
- you want JSON output for programmatic consumption of lint results

## When to avoid
- you need to add custom rules beyond disabling the built-in ones
- you want a linter with active development and recent updates
- you need multi-language or broader container security scanning rather than Dockerfile-only checks

## Facets
- artifact type: cli-tool
- maturity: maintenance
- function: linter, cli, developer-tools
- domain: developer-tools
- platform: cli, cross-platform
- tags: dockerfile, static-analysis, best-practices, container-images, devops, containers, command-line, nodejs, docker

## Member repositories
- replicatedhq/dockerfilelint (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:18.684697+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:06:35.520241+00:00, confidence not recorded.
  - readme: https://github.com/replicatedhq/dockerfilelint (fetched 2026-08-28T04:03:18.684697+00:00, sha 471783e78d45)
  - homepage: https://www.fromlatest.io (fetched 2026-08-29T13:06:05.651156+00:00, sha fbd7ee7bcad2)
  - registry_npm: https://registry.npmjs.org/dockerfilelint (fetched 2026-08-29T13:06:05.659986+00:00, sha faadfada310a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
