REA .dockerignore notes (unofficial)

Last updated: · By the RepoRead editorial team · Unofficial guide
Quick answer

.dockerignore pins build-context exclude identity. In REA 6.7.x, treat selected patterns as Evidence beside archive/package routes — complementing rea-docker-compose-lock without inventing APIs.

Mental model

  1. Authorize the .dockerignore (+ artifacts you hold).
  2. Quote selected exclude patterns you actually see.
  3. Compose cousin → rea-docker-compose-lock; gitignore cousin → rea-gitignore-patterns.
  4. Bind absolute paths honestly → rea-absolute-paths.
  5. Do not invent a Docker ignore API REA never called.

Minimal path

# authorized .dockerignore (+ artifact you hold)
# quote selected exclude pins into case notes
# REA package/archive routes on /absolute/path/artifact --json
# do not invent: rea inspect_dockerignore .

Compare

ArtifactHonest posture
.dockerignoreExclude-pin identity facts
Compose cousinrea-docker-compose-lock
npmignore cousinrea-npmignore
Evidence binderrea-evidence-explained

Scope we will not cover

  • No inventing inspect_dockerignore / automatic Docker rewrites.
  • No credential theft from build contexts or secrets.
  • No pirate redistribution of paid artifacts.
  • No crack framing via ignore pins.

RepoRead is unofficial. Prefer config honesty + DISCLAIMER.md.

FAQ

How is this different from rea-docker-compose-lock?

rea-docker-compose-lock orients compose lock identity. This page zooms on .dockerignore exclude pins as Evidence — it does not overwrite that page.

Is there inspect_dockerignore in 6.7.0?

Not assumed. Quote ignore patterns you actually open, then use documented package/archive lanes. Do not invent inspect_dockerignore.

Does REA rewrite Docker ignores or steal secrets from them?

No. Local trees only. Do not treat REA as a Docker configurator; redact secrets in Evidence.

.dockerignore vs .gitignore / .npmignore?

Label Evidence by the file present. Keep this Docker lane separate from rea-gitignore-patterns and rea-npmignore.

npm version checked?

rea-agents 6.7.0 (re-checked 2026-10-24).

Sources