peridot/bases/build/BUILD

42 lines
1.0 KiB
Python
Raw Normal View History

2022-07-07 20:11:50 +00:00
load("@io_bazel_rules_docker//container:container.bzl", "container_image")
container_image(
name = "build_arm64",
base = "@build_base_arm64//image",
2022-10-30 03:24:33 +00:00
tags = ["manual"],
2022-07-07 20:11:50 +00:00
visibility = ["//visibility:public"],
)
container_image(
name = "build_amd64",
base = "@build_base_amd64//image",
2022-10-30 03:24:33 +00:00
tags = ["manual"],
2022-07-07 20:11:50 +00:00
visibility = ["//visibility:public"],
)
container_image(
name = "build_s390x",
base = "@build_base_s390x//image",
2022-10-30 03:24:33 +00:00
tags = ["manual"],
2022-07-07 20:11:50 +00:00
visibility = ["//visibility:public"],
)
container_image(
name = "build_ppc64le",
base = "@build_base_ppc64le//image",
2022-10-30 03:24:33 +00:00
tags = ["manual"],
2022-07-07 20:11:50 +00:00
visibility = ["//visibility:public"],
)
container_image(
name = "build",
base = select({
"//platforms:arm64": "@build_base_arm64//image",
"//platforms:x86_64": "@build_base_amd64//image",
"//platforms:s390x": "@build_base_s390x//image",
"//platforms:ppc64le": "@build_base_ppc64le//image",
}),
2022-10-30 03:24:33 +00:00
tags = ["manual"],
2022-07-07 20:11:50 +00:00
visibility = ["//visibility:public"],
)