powered by
Add one or more instructions to a Dockerfile
addInstruction(dockerfileObject) <- value
An object of class 'Dockerfile'
An object that inherits from class 'instruction' or a list of instructions
Returns the modified Dockerfile object (replacement method)
# NOT RUN { the_dockerfile <- dockerfile(clean_session()) addInstruction(the_dockerfile) <- Label(myKey = "myContent") # }
Run the code above in your browser using DataLab