mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-06-06 19:23:41 +02:00
lint: Add missing --platform=linux to docker build command
Otherwise, this may pick the wrong arch like s390x, if a such a podman container was most recently used. See also the CI_IMAGE_PLATFORM setting in the "other" CI, which does the same.
This commit is contained in:
@@ -44,6 +44,7 @@ def main():
|
|||||||
"docker",
|
"docker",
|
||||||
"buildx",
|
"buildx",
|
||||||
"build",
|
"build",
|
||||||
|
"--platform=linux",
|
||||||
f"--tag={container}",
|
f"--tag={container}",
|
||||||
*shlex.split(os.environ.get("DOCKER_BUILD_CACHE_ARG", "")),
|
*shlex.split(os.environ.get("DOCKER_BUILD_CACHE_ARG", "")),
|
||||||
f"--file={repo_root}/ci/lint_imagefile",
|
f"--file={repo_root}/ci/lint_imagefile",
|
||||||
|
|||||||
Reference in New Issue
Block a user