mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-31 10:41:08 +00:00
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.
This commit is contained in:
parent
fa0ce4c148
commit
55555db055
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user