DockerfileBuilder
Kotlin DSL representation of a Dockerfile.
TODO(Derppening): Unit test the hell out of this
Types
Properties
Functions
Insert an ADD
instruction into the Dockerfile with args as its argument(s).
Inserts an ADD
instruction into the Dockerfile.
Adds an instruction to the Dockerfile.
Insert an ARG
instruction into the Dockerfile with args as its argument(s).
Insert an ARG
instruction into the Dockerfile.
Builds this DockerfileBuilder and exports the file to a temporary location.
Inserts a CMD
instruction into the Dockerfile with args as its argument(s).
Inserts a CMD
instruction into the Dockerfile.
Adds a comment to the dockerfile.
Insert a COPY
instruction into the Dockerfile with args as its argument(s).
Inserts a COPY
instruction into the Dockerfile.
Inserts an COPY
instruction into the Dockerfile.
Insert an ENTRYPOINT
instruction into the Dockerfile with args as its argument(s).
Insert an ENTRYPOINT
instruction into the Dockerfile.
Inserts an ENV
instruction into the Dockerfile.
Inserts an ENV
instruction into the Dockerfile with args as its argument(s).
Inserts an EXPOSE
instruction into the Dockerfile.
Inserts an EXPOSE
instruction into the Dockerfile with args as its argument(s).
Inserts a FROM
instruction into the Dockerfile with args as its argument(s).
Inserts a FROM
instruction into the Dockerfile.
Insert a HEALTHCHECK
instruction into the Dockerfile with args as its argument(s).
Insert a HEALTHCHECK
instruction into the Dockerfile.
Joins an Array of objects into a JSON String array.
Joins an Array of objects into a space-delimited single string.
Inserts a LABEL
instruction into the Dockerfile.
Inserts a LABEL
instruction into the Dockerfile with args as its argument(s).
Insert an ONBUILD
instruction into the Dockerfile with args as its argument(s).
Insert an ONBUILD
instruction into the Dockerfile.
Inserts a RUN
instruction into the Dockerfile with args as its argument(s).
Inserts a RUN
instruction into the Dockerfile.
Insert a SHELL
instruction into the Dockerfile with args as its argument(s).
Insert a SHELL
instruction into the Dockerfile.
Insert a STOPSIGNAL
instruction into the Dockerfile with args as its argument(s).
Insert a STOPSIGNAL
instruction into the Dockerfile.
Insert a USER
instruction into the Dockerfile with args as its argument(s).
Insert a USER
instruction into the Dockerfile.
Insert a VOLUME
instruction into the Dockerfile.
Insert a VOLUME
instruction into the Dockerfile with args as its argument(s).
Insert an WORKDIR
instruction into the Dockerfile with args as its argument(s).
Insert an WORKDIR
instruction into the Dockerfile.