Untitled

mail@pastecode.io avatar
unknown
plain_text
2 months ago
400 B
2
Indexable
Never
# tools/docker/scala.bzl
load(
    "@io_bazel_rules_docker//lang:image.bzl",
    "app_layer",
)


def scala_image(
    base = "@vertis_openjdk17//image"
...
):

 for index, dep in enumerate(jar_layers):
    base = app_layer(name = "%s.%d" % (name, index), base = base, dep = dep, tags = tags)

 # и дальше в сам рул (java_binary_image) прокидывается этот base слой
Leave a Comment