Class Dockerfile.CommentInstruction

    • Constructor Detail

      • CommentInstruction

        public CommentInstruction​(String command)
      • CommentInstruction

        public CommentInstruction​(Provider<String> commandProvider)
    • Method Detail

      • getKeyword

        public 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