-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Open
Description
Hello,
What would it take to build distroless python images for s390x?
I tried a very naive diff:
--- a/python3/BUILD
+++ b/python3/BUILD
@@ -1,7 +1,7 @@
load("@container_structure_test//:defs.bzl", "container_structure_test")
load("@rules_oci//oci:defs.bzl", "oci_image", "oci_image_index")
load("@rules_pkg//:pkg.bzl", "pkg_tar")
-load("//:checksums.bzl", ARCHITECTURES = "BASE_ARCHITECTURES")
+load("//:checksums.bzl", "ARCHITECTURES")
load("//private/util:deb.bzl", "deb")
package(default_visibility = ["//visibility:public"])
and immediately ran into a problem with a missing toolchain:
$ bazel build //python3:python3_root_s390x_debian12
ERROR: /home/iii/distroless/python3/BUILD:50:14: While resolving toolchains for target //python3:python3_root_s390x_debian12: No matching toolchains found for types @aspect_bazel_lib//lib:jq_toolchain_type.
Not being a bazel expert, I can't tell whether this is easily resolvable.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels