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:
MarcoFalke 2026-01-28 11:10:25 +01:00
parent feb74a9372
commit 1111fff91c
No known key found for this signature in database

View File

@ -44,6 +44,7 @@ def main():
"docker",
"buildx",
"build",
"--platform=linux",
f"--tag={container}",
*shlex.split(os.environ.get("DOCKER_BUILD_CACHE_ARG", "")),
f"--file={repo_root}/ci/lint_imagefile",