code: func CreateBuildEnvironment(sourcePath string, cfgEnv api.EnvironmentList) []string {
  	s2iEnv, err := scripts.GetEnvironment(filepath.Join(sourcePath, constants.Source))
  	if err != nil {
  		glog.V(3).Infof("No user environment provided (%v)", err)
  	}
  
  	return append(scripts.ConvertEnvironmentList(s2iEnv), scripts.ConvertEnvironmentList(cfgEnv)...)
  }
docs: // CreateBuildEnvironment constructs the environment variables to be provided to the assemble
  // script and committed in the new image.