mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-09 11:11:20 +00:00
48b047fd61
* Add docker container images for beacon-chain and client * Add docker section to README
43 lines
1.3 KiB
Python
43 lines
1.3 KiB
Python
load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
|
|
load("@io_bazel_rules_docker//go:image.bzl", "go_image")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = ["main.go"],
|
|
importpath = "github.com/prysmaticlabs/prysm/client",
|
|
visibility = ["//client:__subpackages__"],
|
|
deps = [
|
|
"//client/node:go_default_library",
|
|
"//client/utils:go_default_library",
|
|
"//shared/cmd:go_default_library",
|
|
"//shared/debug:go_default_library",
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
|
"@com_github_urfave_cli//:go_default_library",
|
|
"@com_github_x_cray_logrus_prefixed_formatter//:go_default_library",
|
|
],
|
|
)
|
|
|
|
go_image(
|
|
name = "image",
|
|
srcs = ["main.go"],
|
|
goarch = "amd64",
|
|
goos = "linux",
|
|
importpath = "github.com/prysmaticlabs/prysm/client",
|
|
static = "on",
|
|
deps = [
|
|
"//client/node:go_default_library",
|
|
"//client/utils:go_default_library",
|
|
"//shared/cmd:go_default_library",
|
|
"//shared/debug:go_default_library",
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
|
"@com_github_urfave_cli//:go_default_library",
|
|
"@com_github_x_cray_logrus_prefixed_formatter//:go_default_library",
|
|
],
|
|
)
|
|
|
|
go_binary(
|
|
name = "client",
|
|
embed = [":go_default_library"],
|
|
visibility = ["//client:__subpackages__"],
|
|
)
|