Class Dockerfile.GenericInstruction

  • All Implemented Interfaces:
    Enclosing class:

    public static class Dockerfile.GenericInstruction
    extends Object
    implements Dockerfile.Instruction
    An instruction that uses the provided value as-is without any additional formatting.

    Use this instruction if you want to provide a very complex instruction or if there's not a specific implementation of Dockerfile.Instruction that serves your use case.

    • Constructor Detail

      • GenericInstruction

        public GenericInstruction​(String instruction)
      • GenericInstruction

        public GenericInstruction​(Provider<String> instructionProvider)