From 051d0a2fe523c0cd26c7dd8bffe73da26e117c5c Mon Sep 17 00:00:00 2001 From: Tom van der Woerdt Date: Wed, 21 Jan 2026 14:45:12 -0500 Subject: [PATCH] Make "platform" optional PR #469 added this and added a default, which breaks container_structure_test on ARM. Let's remove the default so that we can choose whether we want to set a platform, restoring original behavior. --- bazel/container_structure_test.bzl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bazel/container_structure_test.bzl b/bazel/container_structure_test.bzl index cd5d0088..cd82f966 100644 --- a/bazel/container_structure_test.bzl +++ b/bazel/container_structure_test.bzl @@ -16,8 +16,7 @@ _attrs = { doc = "See https://github.com/GoogleContainerTools/container-structure-test#running-file-tests-without-docker", ), "platform": attr.string( - default = "linux/amd64", - doc = "Set platform if host is multi-platform capable (default \"linux/amd64\")", + doc = "Set platform if host is multi-platform capable", ), "_runfiles": attr.label(default = "@bazel_tools//tools/bash/runfiles"), "_windows_constraint": attr.label(default = "@platforms//os:windows"),