addInstruction-set: Add one or more instructions to a Dockerfile

Description Usage Arguments Value Examples

Description

Add one or more instructions to a Dockerfile

Usage

1
addInstruction(dockerfileObject) <- value

Arguments

dockerfileObject

An object of class 'Dockerfile'

value

An object that inherits from class 'instruction' or a list of instructions

Value

Returns the modified Dockerfile object (replacement method)

Examples

1
2
the_dockerfile <- dockerfile(clean_session())
addInstruction(the_dockerfile) <- Label(myKey = "myContent")

o2r-project/containerit documentation built on Aug. 22, 2019, 11:52 p.m.