prysm-pulse/proto/cluster/BUILD.bazel
Preston Van Loon ff1fd77425 Build docker images for non-root user (#4320)
* build docker images as non-root user
* search and replace mistake
* buildifer
* Change uid to 1001
2019-12-18 20:52:25 +00:00

25 lines
782 B
Python

load("@rules_proto//proto:defs.bzl", "proto_library")
load("@io_bazel_rules_go//go:def.bzl", "go_library")
load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library")
proto_library(
name = "prysm_internal_cluster_proto",
srcs = ["services.proto"],
visibility = ["//visibility:public"],
)
go_proto_library(
name = "prysm_internal_cluster_go_proto",
compilers = ["@io_bazel_rules_go//proto:go_grpc"],
importpath = "github.com/prysmaticlabs/prysm/proto/cluster",
proto = ":prysm_internal_cluster_proto",
visibility = ["//visibility:public"],
)
go_library(
name = "go_default_library",
embed = [":prysm_internal_cluster_go_proto"],
importpath = "github.com/prysmaticlabs/prysm/proto/cluster",
visibility = ["//visibility:public"],
)