.. _redhat_env: Red Hat Environment =================== If you are running Cekit in Red Hat internal infrastructure it behaves differently. This behavior is triggered by changing :ref:`redhat configuration option` in Cekit configuration file. Tools ----- Cekit integration with following tools is changed in following ways: * runs ``rhpkg`` instead of ``fedpkg`` * runs ``odcs`` command with ``--redhat`` option set Environment Variables --------------------- Following variables are added into the image: * ``JBOSS_IMAGE_NAME`` - contains name of the image * ``JBOSS_IMAGE_VERSION`` - contains version of the image Labels ------ Following labels are added into the image: * ``name`` - contains name of the image * ``version`` - contains version of the image .. _redhat_repo: Repositories ------------ In Red Hat we are using ODCS to access repositories for building our container images. To make our life little bit easier Cekit converts all :ref:`Plain` type repositories into :ref:`ODCS` ones. This assures we can perform reproducible builds of our images without any overrides or changes into image descriptors. *Example:* Following :ref:`Plain` repository: .. code:: yaml packages: repositories: - name: SCL id: rhel-server-rhscl-7-rpms will be automatically converted into following :ref:`ODCS` repository: .. code:: yaml packages: repositories: - name: SCL odcs: pulp: rhel-server-rhscl-7-rpms