mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-06-10 14:48:46 +02: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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user