From 55555db055b59dd529526915dfc59e5a13e43160 Mon Sep 17 00:00:00 2001 From: MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz> Date: Mon, 17 Nov 2025 17:49:59 +0100 Subject: [PATCH] doc: Add missing --platform=linux to docker build command This is required to pick the native arch, similar to how the CI_IMAGE_PLATFORM is set to linux. --- test/lint/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/lint/README.md b/test/lint/README.md index 7c3798cdefd..1858a2c0edb 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