LABEL

fun LABEL(args: () -> String): DockerfileBuilder

Inserts a LABEL instruction into the Dockerfile with args as its argument(s).


fun LABEL(vararg labels: Pair<String, String>): DockerfileBuilder

Inserts a LABEL instruction into the Dockerfile.

Parameters

labels

Labels to add as metadata to the image. The first and second argument of the Pair refers to the key and value of the label respectively.