R/dockerfile-core.R
has_instruction.Rd
Check if a dockerfile has a specific instruction
has_instruction(dockerfile, instruction)
A dockerfile object
Instruction to check for (e.g., "FROM", "RUN")
TRUE if instruction exists, FALSE otherwise