Class Dockerfile.OnBuildInstruction

    • Constructor Detail

      • OnBuildInstruction

        public OnBuildInstruction​(String instruction)
      • OnBuildInstruction

        public OnBuildInstruction​(Provider<String> provider)
    • 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