Interface Dockerfile.Instruction

    • Method Detail

      • getKeyword

        @Internal
        @Nullable
        String getKeyword()
        Gets the keyword of the instruction as used in the Dockerfile.

        For example the keyword of the Dockerfile.FromInstruction is FROM.

        Returns:
        The instruction keyword
      • getText

        @Input
        @Optional
        @Nullable
        String getText()
        Gets the full text of the instruction as used in the Dockerfile.
        Returns:
        The instruction
        Since:
        3.6.0