RUN

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

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


fun RUN(executable: String, vararg param: String): DockerfileBuilder

Inserts a RUN instruction into the Dockerfile.

Parameters

executable

Executable to run in the intermediate image.

param

Parameters to pass into the executable.


fun RUN(form: DockerfileBuilder.Form, executable: String, vararg param: String): DockerfileBuilder

Inserts a RUN instruction into the Dockerfile.

Parameters

form

The form of arguments to use in the Dockerfile.

executable

Executable to run in the intermediate image.

param

Parameters to pass into the executable.