From 5cac582944e5f4113c343208d864c1336ecb58fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Mon, 24 May 2021 00:11:58 +0300 Subject: [PATCH] runfiles? --- rules.bzl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rules.bzl b/rules.bzl index 25e9e56..0d9a105 100644 --- a/rules.bzl +++ b/rules.bzl @@ -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",