runfiles?

This commit is contained in:
Motiejus Jakštys 2021-05-24 00:11:58 +03:00
parent f8c6c68cdf
commit 5cac582944

View File

@ -10,7 +10,10 @@ def _rootfs_impl(ctx):
outf,
],
)
return [DefaultInfo(files = depset([out]))]
return [DefaultInfo(
files = depset([out]),
runfiles = ctx.runfiles(files = ctx.attr.src.files.to_list())
)]
rootfs = rule(
doc = "Generate a rootfs from a docker container image",