Class Dockerfile.EnvironmentVariableInstruction

    • Constructor Detail

      • EnvironmentVariableInstruction

        public EnvironmentVariableInstruction​(String key,
                                              String value)
      • EnvironmentVariableInstruction

        public EnvironmentVariableInstruction​(Map<String,​String> envVars)
      • EnvironmentVariableInstruction

        public EnvironmentVariableInstruction​(Provider<Map<String,​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