ci: Use DOCKER_BUILDKIT for lint image

Can be reviewed with:
--color-moved=dimmed-zebra  --ignore-all-space
This commit is contained in:
MarcoFalke
2023-07-16 12:01:25 +02:00
parent 01e5d6b105
commit fa2f18ad8e
7 changed files with 47 additions and 58 deletions

View File

@@ -7,10 +7,8 @@ To run linters locally with the same versions as the CI environment, use the inc
Dockerfile:
```sh
cd ./ci/lint
docker build -t bitcoin-linter .
DOCKER_BUILDKIT=1 docker build -t bitcoin-linter --file "./ci/lint_imagefile" ./
cd /root/of/bitcoin/repo
docker run --rm -v $(pwd):/bitcoin -it bitcoin-linter
```