DockerBuild.Dockerfile (DockerBuild v0.9.0) View Source

Create a dockerfile

Link to this section Summary

Functions

Adds an arbitary instruction

Docker CMD arg. If a list of args is given the the list is passed to CMD

Docker COPY arg

Docker ENTRYPOINT arg. If a list of args is given the the list is passed to ENTRYPOINT

Docker ENV arg

Docker FROM source

Create a new dockerfile from the config

Docker RUN arg. If a list of args is given they are joined with &&

Docker WORKDIR arg

Link to this section Functions

Link to this function

add_line(df, instuction, arg)

View Source

Adds an arbitary instruction

Docker CMD arg. If a list of args is given the the list is passed to CMD

Docker COPY arg

Link to this function

entrypoint(df, arg_or_args)

View Source

Docker ENTRYPOINT arg. If a list of args is given the the list is passed to ENTRYPOINT

Docker ENV arg

Docker FROM source

Create a new dockerfile from the config

Docker RUN arg. If a list of args is given they are joined with &&

Docker WORKDIR arg