doc: Add missing --platform=linux to docker build command
What changed, and why it matters
This is a one-line documentation fix in a README file. It adds a missing '--platform=linux' flag to a Docker build command example used by developers running linting tools locally. There is no code change, no security vulnerability, and no risk to users.
No security action needed. Treat as a normal documentation update.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The commit modifies test/lint/README.md only, updating the example shell command for building a local linting Docker image. It adds ‘–platform=linux’ and switches to long-form options. This is a documentation-only change with no functional, build-system, or security impact.
Changed components
test/lint/README.mdInspect captured patch +1 / −1
diff --git a/test/lint/README.md b/test/lint/README.md
index 7c3798cd..1858a2c0 100644
--- a/test/lint/README.md
+++ b/test/lint/README.md
@@ -7,7 +7,7 @@ To run linters locally with the same versions as the CI environment, use the inc
Dockerfile:
```sh
-DOCKER_BUILDKIT=1 docker build -t bitcoin-linter --file "./ci/lint_imagefile" ./ && docker run --rm -v $(pwd):/bitcoin -it bitcoin-linter
+DOCKER_BUILDKIT=1 docker build --platform=linux --tag=bitcoin-linter --file="./ci/lint_imagefile" ./ && docker run --rm -v $(pwd):/bitcoin -it bitcoin-linter
```
Building the container can be done every time, because it is fast when the
Why this scored 16/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.