mirror of
https://github.com/rocky-linux/peridot.git
synced 2024-12-24 03:28:28 +00:00
37 lines
891 B
Python
37 lines
891 B
Python
load("@io_bazel_rules_docker//container:container.bzl", "container_image")
|
|
|
|
container_image(
|
|
name = "go",
|
|
base = select({
|
|
"//platforms:arm64": "@go_base_arm64//image",
|
|
"//platforms:x86_64": "@go_base_amd64//image",
|
|
"//platforms:s390x": "@go_base_s390x//image",
|
|
"//platforms:ppc64le": "@go_base_ppc64le//image",
|
|
}),
|
|
visibility = ["//visibility:public"],
|
|
)
|
|
|
|
container_image(
|
|
name = "go_arm64",
|
|
base = "@go_base_arm64//image",
|
|
visibility = ["//visibility:public"],
|
|
)
|
|
|
|
container_image(
|
|
name = "go_amd64",
|
|
base = "@go_base_amd64//image",
|
|
visibility = ["//visibility:public"],
|
|
)
|
|
|
|
container_image(
|
|
name = "go_s390x",
|
|
base = "@go_base_s390x//image",
|
|
visibility = ["//visibility:public"],
|
|
)
|
|
|
|
container_image(
|
|
name = "go_ppc64le",
|
|
base = "@go_base_ppc64le//image",
|
|
visibility = ["//visibility:public"],
|
|
)
|