# hexops-graveyard/dockerfile

Dockerfile best-practices for writing production-worthy Docker images.

Repository: https://github.com/hexops-graveyard/dockerfile
Canonical: https://ross.abutalabs.com/products/dockerfile
Language: Dockerfile
License: NOASSERTION
License Family: other
Topics: dockerfile, uids, kubernetes, containers, oci
Last push: 2021-08-08T04:42:37+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": 2159, "days_push": 1851, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4080, forks 154 (observed 2026-08-28T04:08:34.420355+00:00)

## What it is
A curated Dockerfile template and guide documenting best practices for building production-worthy Docker images, covering non-root users, static high UIDs, pinned image tags, and tini as ENTRYPOINT. It is a copy-paste reference Dockerfile with explanatory comments rather than a tool.

## Use cases
- write a production-ready Dockerfile for my service
- learn Dockerfile security best practices
- run my container as a non-root user safely
- avoid using the latest tag in Docker images
- set up tini as my container entrypoint
- choose a safe UID for containerized processes

## When to choose
- you are writing a new Dockerfile and want battle-tested defaults
- you want a checklist of common container security pitfalls
- you are onboarding developers to container best practices

## When to avoid
- you need a linting or scanning tool rather than written guidance
- your environment requires patterns the guide explicitly advises against
- you need actively maintained or updated recommendations

## Facets
- artifact type: learning-resource
- maturity: maintenance
- function: documentation, security, developer-tools
- domain: security, developer-tools
- platform: -
- tags: dockerfile, best-practices, containers, oci-images, non-root-user, guide, devops, docker, linux, kubernetes

## Member repositories
- hexops-graveyard/dockerfile (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:34.420355+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-29T18:23:26.037075+00:00, confidence not recorded.
  - readme: https://github.com/hexops-graveyard/dockerfile (fetched 2026-08-28T04:08:34.420355+00:00, sha ed4abdeb98ca)
- Data as of 2026-08-30T08:39:29.467469+00:00.
