mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-21 19:20:38 +00:00
8839015312
* Add coreutils to docker images * add coreutils dependencies * Add a prysmaticlabs.com/uploads backup of the deb files * Run gazelle and fix issues * Remove broken tar, change http_archive deps to debian_archive, remove http mirrors in favor of snapshot * Add comments about which deps are required by other deps
35 lines
779 B
Python
35 lines
779 B
Python
load("@rules_pkg//pkg:pkg.bzl", "pkg_tar")
|
|
load("@rules_distroless//distroless:defs.bzl", "passwd")
|
|
|
|
passwd(
|
|
name = "passwd",
|
|
passwds = [
|
|
dict(
|
|
gecos = ["root"],
|
|
gid = 0,
|
|
home = "/root",
|
|
shell = "/bin/bash",
|
|
uid = 0,
|
|
username = "root",
|
|
),
|
|
dict(
|
|
gecos = ["nonroot"],
|
|
gid = 1001,
|
|
home = "/home/nonroot",
|
|
shell = "/bin/bash",
|
|
uid = 1001,
|
|
username = "nonroot",
|
|
),
|
|
],
|
|
)
|
|
|
|
# Create a tar file containing the created passwd file
|
|
pkg_tar(
|
|
name = "passwd_tar",
|
|
srcs = [":passwd"],
|
|
mode = "0o644",
|
|
package_dir = "etc",
|
|
tags = ["manual"],
|
|
visibility = ["//visibility:public"],
|
|
)
|