REA .dockerignore notes (unofficial)
.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
- Authorize the
.dockerignore(+ artifacts you hold). - Quote selected exclude patterns you actually see.
- Compose cousin → rea-docker-compose-lock; gitignore cousin → rea-gitignore-patterns.
- Bind absolute paths honestly → rea-absolute-paths.
- 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
| Artifact | Honest posture |
|---|---|
.dockerignore | Exclude-pin identity facts |
| Compose cousin | rea-docker-compose-lock |
| npmignore cousin | rea-npmignore |
| Evidence binder | rea-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).