ceph-csi/vendor/k8s.io/kubernetes/cluster/images/hyperkube/BUILD

31 lines
688 B
Python
Raw Normal View History

2018-11-26 18:23:56 +00:00
load("@io_bazel_rules_docker//container:container.bzl", "container_bundle", "container_image")
2018-01-09 18:57:14 +00:00
2018-11-26 18:23:56 +00:00
container_image(
2018-01-09 18:57:14 +00:00
name = "hyperkube-internal",
base = "@debian-hyperkube-base-amd64//image",
files = [
"//cmd/hyperkube",
],
2018-11-26 18:23:56 +00:00
stamp = True,
2018-01-09 18:57:14 +00:00
)
2018-11-26 18:23:56 +00:00
container_bundle(
2018-01-09 18:57:14 +00:00
name = "hyperkube",
2018-03-06 22:33:18 +00:00
images = {"k8s.gcr.io/hyperkube-amd64:{STABLE_DOCKER_TAG}": "hyperkube-internal"},
2018-01-09 18:57:14 +00:00
stamp = True,
)
filegroup(
name = "package-srcs",
srcs = glob(["**"]),
tags = ["automanaged"],
visibility = ["//visibility:private"],
)
filegroup(
name = "all-srcs",
srcs = [":package-srcs"],
tags = ["automanaged"],
visibility = ["//visibility:public"],
)