ARG

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

Insert an ARG instruction into the Dockerfile with args as its argument(s).


Insert an ARG instruction into the Dockerfile.

Parameters

arg

Build-time arguments for the Dockerfile. The first and second argument to the Pair refers to the argument name and the (nullable) default value for the argument respectively.