mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-04-29 23:09:44 -04:00
doc: Recommend lint image build on every call
This commit is contained in:
parent
faf70c1f33
commit
fa25e8b0a1
1 changed files with 3 additions and 5 deletions
|
@ -7,13 +7,11 @@ To run linters locally with the same versions as the CI environment, use the inc
|
||||||
Dockerfile:
|
Dockerfile:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
DOCKER_BUILDKIT=1 docker build -t bitcoin-linter --file "./ci/lint_imagefile" ./
|
DOCKER_BUILDKIT=1 docker build -t bitcoin-linter --file "./ci/lint_imagefile" ./ && docker run --rm -v $(pwd):/bitcoin -it bitcoin-linter
|
||||||
|
|
||||||
docker run --rm -v $(pwd):/bitcoin -it bitcoin-linter
|
|
||||||
```
|
```
|
||||||
|
|
||||||
After building the container once, you can simply run the last command any time you
|
Building the container can be done every time, because it is fast when the
|
||||||
want to lint.
|
result is cached and it prevents issues when the image changes.
|
||||||
|
|
||||||
|
|
||||||
check-doc.py
|
check-doc.py
|
||||||
|
|
Loading…
Add table
Reference in a new issue