<services>
  <service mode="buildtime" name="kiwi_metainfo_helper"/>
  <service mode="buildtime" name="docker_label_helper"/>
  <!-- 
      This service is actually replacing the IMG_REPO placeholder with
      the '%img_repo' rpm macro set project configuration. So far this
      is only way we could find to retrieve project config information
      at buildtime for a non spec recipe.
  -->
  <service name="replace_using_env" mode="buildtime">
    <param name="file">channel.json</param>
    <param name="eval">IMG_REPO=$(rpm --macros=/root/.rpmmacros -E %img_repo)</param>
    <param name="var">IMG_REPO</param>
  </service>
  <service name="replace_using_env" mode="buildtime">
    <param name="file">Dockerfile</param>
    <param name="eval">IMG_REPO=$(rpm --macros=/root/.rpmmacros -E %img_repo)</param>
    <param name="var">IMG_REPO</param>
  </service>
</services>
