Closed thesayyn closed 1 year ago
this turned out to be super simple with pkg_tar.
pkg_tar(
name = "flatten",
deps = ["layer1.tar", "layer2.tar"]
)
closing as theres an obvious alternative.
I've run into this question as well but found I needed to use deps
instead of srcs
like this:
load("@rules_pkg//pkg:tar.bzl", "pkg_tar")
pkg_tar(
name = "flatten",
deps = ["layer1.tar", "layer2.tar"]
)
Needed to flatten multiple layers into one;
Features