Skip to content

Commit 19816aa

Browse files
authored
Merge pull request #52 from infosiftr/nolint
Disable BuildKit's new linting functionality (pre-emptively)
2 parents 13964f1 + cc6279a commit 19816aa

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.test/meta-commands/out.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ SOURCE_DATE_EPOCH=1700741054 \
3737
--platform 'linux/amd64' \
3838
--build-context 'alpine:3.18=docker-image://alpine@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0' \
3939
--build-arg BUILDKIT_SYNTAX="$BASHBREW_BUILDKIT_SYNTAX" \
40+
--build-arg BUILDKIT_DOCKERFILE_CHECK=skip=all \
4041
--file 'Dockerfile' \
4142
'https://github.com/docker-library/docker.git#6d541d27b5dd12639e5a33a675ebca04d3837d74:24/cli'
4243
mkdir temp

meta.jq

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,7 @@ def build_command:
197197
| "--build-context " + @sh
198198
),
199199
"--build-arg BUILDKIT_SYNTAX=\"$BASHBREW_BUILDKIT_SYNTAX\"", # TODO .doi/.bin/bashbrew-buildkit-env-setup.sh
200+
"--build-arg BUILDKIT_DOCKERFILE_CHECK=skip=all", # disable linting (https://github.com/moby/buildkit/pull/4962)
200201
@sh "--file \(.source.entry.File)",
201202
($buildUrl | @sh),
202203
empty

0 commit comments

Comments
 (0)