Skip to content

Commit fa25e8b

Browse files
author
MarcoFalke
committed
doc: Recommend lint image build on every call
1 parent faf70c1 commit fa25e8b

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

test/lint/README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,11 @@ To run linters locally with the same versions as the CI environment, use the inc
77
Dockerfile:
88

99
```sh
10-
DOCKER_BUILDKIT=1 docker build -t bitcoin-linter --file "./ci/lint_imagefile" ./
11-
12-
docker run --rm -v $(pwd):/bitcoin -it bitcoin-linter
10+
DOCKER_BUILDKIT=1 docker build -t bitcoin-linter --file "./ci/lint_imagefile" ./ && docker run --rm -v $(pwd):/bitcoin -it bitcoin-linter
1311
```
1412

15-
After building the container once, you can simply run the last command any time you
16-
want to lint.
13+
Building the container can be done every time, because it is fast when the
14+
result is cached and it prevents issues when the image changes.
1715

1816

1917
check-doc.py

0 commit comments

Comments
 (0)