第3章 Configuring RHEL image builder repositories


You can add repositories or override the default base repositories.

You can use the following types of repositories in RHEL image builder:

Official repository overrides
Use these if you want to download base system RPMs from elsewhere than the Red Hat Content Delivery Network (CDN) official repositories, for example, a custom mirror in your network. Using official repository overrides disables the default repositories, and your custom mirror must contain all the necessary packages.
Custom third-party repositories
Use these to include packages that are not available in the official RHEL repositories.

3.1. Adding additional repositories to RHEL image builder

You can add additional custom repositories to your image during the image-building time by using the image-builder tool and the --extra-repo flag.

Prerequisites

  • You have the URL of the custom repository.

Procedure

  • Build the image, and add the extra repository to RHEL image builder:

    $ image-builder build <image-type> \
    --add-repo=<file:///path/to/my/repo> \

    The repository content becomes available during the image building, and the dependency solver gets packages from the repository. For example, if the repository contains a libc or kernel with higher version, they will be selected over the default repositories.

Red Hat logoGithubredditYoutubeTwitter

詳細情報

試用、購入および販売

コミュニティー

Red Hat ドキュメントについて

Red Hat をお使いのお客様が、信頼できるコンテンツが含まれている製品やサービスを活用することで、イノベーションを行い、目標を達成できるようにします。 最新の更新を見る.

多様性を受け入れるオープンソースの強化

Red Hat では、コード、ドキュメント、Web プロパティーにおける配慮に欠ける用語の置き換えに取り組んでいます。このような変更は、段階的に実施される予定です。詳細情報: Red Hat ブログ.

会社概要

Red Hat は、企業がコアとなるデータセンターからネットワークエッジに至るまで、各種プラットフォームや環境全体で作業を簡素化できるように、強化されたソリューションを提供しています。

Theme

© 2026 Red Hat
トップに戻る