Learn R Programming

containerit (version 0.6.0)

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

Description

Add one or more instructions to a Dockerfile

Usage

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

Run this code
# NOT RUN {
the_dockerfile <- dockerfile(clean_session())
addInstruction(the_dockerfile) <- Label(myKey = "myContent")
# }

Run the code above in your browser using DataLab