mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-09 23:48:06 -05:00
Fix //... for darwin (#9273)
* Fixes * More manual tags Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
This commit is contained in:
@@ -8,6 +8,7 @@ load("//tools:build_settings.bzl", "base_image")
|
||||
sh_binary(
|
||||
name = "fuzz_wrapper",
|
||||
srcs = ["fuzz_wrapper.sh"],
|
||||
tags = ["manual"],
|
||||
)
|
||||
|
||||
################################################################################
|
||||
@@ -18,6 +19,7 @@ sh_binary(
|
||||
passwd_entry(
|
||||
name = "root_user",
|
||||
gid = 0,
|
||||
tags = ["manual"],
|
||||
uid = 0,
|
||||
username = "root",
|
||||
)
|
||||
@@ -25,6 +27,7 @@ passwd_entry(
|
||||
passwd_entry(
|
||||
name = "nonroot_user",
|
||||
info = "nonroot",
|
||||
tags = ["manual"],
|
||||
uid = 1001,
|
||||
username = "nonroot",
|
||||
)
|
||||
@@ -35,6 +38,7 @@ passwd_file(
|
||||
":root_user",
|
||||
":nonroot_user",
|
||||
],
|
||||
tags = ["manual"],
|
||||
)
|
||||
|
||||
# Create a tar file containing the created passwd file
|
||||
@@ -43,12 +47,14 @@ pkg_tar(
|
||||
srcs = [":passwd"],
|
||||
mode = "0o644",
|
||||
package_dir = "etc",
|
||||
tags = ["manual"],
|
||||
)
|
||||
|
||||
# Include it in our base image as a tar.
|
||||
container_image(
|
||||
name = "cc_image",
|
||||
base = CC_DEFAULT_BASE,
|
||||
tags = ["manual"],
|
||||
tars = [":passwd_tar"],
|
||||
user = "root",
|
||||
visibility = ["//visibility:public"],
|
||||
@@ -57,6 +63,7 @@ container_image(
|
||||
container_image(
|
||||
name = "go_image",
|
||||
base = GO_DEFAULT_BASE,
|
||||
tags = ["manual"],
|
||||
tars = [":passwd_tar"],
|
||||
user = "root",
|
||||
visibility = ["//visibility:public"],
|
||||
@@ -65,6 +72,7 @@ container_image(
|
||||
base_image(
|
||||
name = "base_image",
|
||||
build_setting_default = "cc_image",
|
||||
tags = ["manual"],
|
||||
)
|
||||
|
||||
config_setting(
|
||||
@@ -80,6 +88,7 @@ config_setting(
|
||||
container_image(
|
||||
name = "alpine_cc_image",
|
||||
base = "@alpine_cc_linux_amd64//image",
|
||||
tags = ["manual"],
|
||||
tars = [":passwd_tar"],
|
||||
user = "root",
|
||||
visibility = ["//visibility:public"],
|
||||
|
||||
Reference in New Issue
Block a user