Skip to navigation Skip to main content

Utilities

  • Subscriptions
  • Downloads
  • Containers
  • Support Cases
Red Hat Customer Portal
  • Subscriptions
  • Downloads
  • Containers
  • Support Cases
  • Products & Services

    Products

    Support

    • Production Support
    • Development Support
    • Product Life Cycles

    Services

    • Consulting
    • Technical Account Management
    • Training & Certifications

    Documentation

    • Red Hat Enterprise Linux
    • Red Hat JBoss Enterprise Application Platform
    • Red Hat OpenStack Platform
    • Red Hat OpenShift Container Platform
    All Documentation

    Ecosystem Catalog

    • Red Hat Partner Ecosystem
    • Partner Resources
  • Tools

    Tools

    • Troubleshoot a product issue
    • Packages
    • Errata

    Customer Portal Labs

    • Configuration
    • Deployment
    • Security
    • Troubleshoot
    All labs

    Red Hat Insights

    Increase visibility into IT operations to detect and resolve technical issues before they impact your business.

    Learn More
    Go to Insights
  • Security

    Red Hat Product Security Center

    Engage with our Red Hat Product Security team, access security updates, and ensure your environments are not exposed to any known security vulnerabilities.

    Product Security Center

    Security Updates

    • Security Advisories
    • Red Hat CVE Database
    • Security Labs

    Keep your systems secure with Red Hat's specialized responses to security vulnerabilities.

    View Responses

    Resources

    • Security Blog
    • Security Measurement
    • Severity Ratings
    • Backporting Policies
    • Product Signing (GPG) Keys
  • Community

    Customer Portal Community

    • Discussions
    • Private Groups
    Community Activity

    Customer Events

    • Red Hat Convergence
    • Red Hat Summit

    Stories

    • Red Hat Subscription Value
    • You Asked. We Acted.
    • Open Source Communities
Or troubleshoot an issue.

Select Your Language

  • English
  • 한국어
  • 日本語
  • 中文 (中国)

Infrastructure and Management

  • Red Hat Enterprise Linux
  • Red Hat Satellite
  • Red Hat Subscription Management
  • Red Hat Insights
  • Red Hat Ansible Automation Platform

Cloud Computing

  • Red Hat OpenShift
  • Red Hat OpenStack Platform
  • Red Hat OpenShift Container Platform
  • Red Hat OpenShift Data Science
  • Red Hat OpenShift Dedicated
  • Red Hat Advanced Cluster Security for Kubernetes
  • Red Hat Advanced Cluster Management for Kubernetes
  • Red Hat Quay
  • OpenShift Dev Spaces
  • Red Hat OpenShift Service on AWS

Storage

  • Red Hat Gluster Storage
  • Red Hat Hyperconverged Infrastructure
  • Red Hat Ceph Storage
  • Red Hat OpenShift Data Foundation

Runtimes

  • Red Hat Runtimes
  • Red Hat JBoss Enterprise Application Platform
  • Red Hat Data Grid
  • Red Hat JBoss Web Server
  • Red Hat Single Sign On
  • Red Hat support for Spring Boot
  • Red Hat build of Node.js
  • Red Hat build of Quarkus

Integration and Automation

  • Red Hat Application Foundations
  • Red Hat Fuse
  • Red Hat AMQ
  • Red Hat 3scale API Management
All Products

Table of contents

  1. ビルド
  2. 1. イメージビルドについて
    1. 1.1. ビルド
      1. 1.1.1. Docker ビルド
      2. 1.1.2. Source-to-Image (S2I) ビルド
      3. 1.1.3. カスタムビルド
      4. 1.1.4. パイプラインビルド
  3. 2. ビルド設定について
    1. 2.1. BuildConfig
  4. 3. ビルド入力の作成
    1. 3.1. ビルド入力
    2. 3.2. Dockerfile ソース
    3. 3.3. イメージソース
    4. 3.4. Git ソース
      1. 3.4.1. プロキシーの使用
      2. 3.4.2. ソースクローンのシークレット
        1. 3.4.2.1. ソースクローンシークレットのビルド設定への自動追加
        2. 3.4.2.2. ソースクローンシークレットの手動による追加
        3. 3.4.2.3. .gitconfig ファイルからのシークレットの作成
        4. 3.4.2.4. セキュリティー保護された Git の .gitconfig ファイルからのシークレットの作成
        5. 3.4.2.5. ソースコードの基本的な認証からのシークレットの作成
        6. 3.4.2.6. ソースコードの SSH キー認証からのシークレットの作成
        7. 3.4.2.7. ソースコードの信頼されている認証局からのシークレットの作成
        8. 3.4.2.8. ソースシークレットの組み合わせ
          1. 3.4.2.8.1. .gitconfig ファイルでの SSH ベースの認証シークレットの作成
          2. 3.4.2.8.2. .gitconfig ファイルと CA 証明書を組み合わせるシークレットの作成
          3. 3.4.2.8.3. CA 証明書ファイルを使用した Basic 認証のシークレットの作成
          4. 3.4.2.8.4. .gitconfig ファイルを使用した Basic 認証シークレットの作成
          5. 3.4.2.8.5. .gitconfig ファイルと CA 証明書を使用した Basic 認証シークレットの作成
    5. 3.5. バイナリー (ローカル) ソース
    6. 3.6. 入力シークレットおよび設定マップ
      1. 3.6.1. 入力シークレットおよび設定マップの追加
      2. 3.6.2. Source-to-Image ストラテジー
      3. 3.6.3. Docker ストラテジー
      4. 3.6.4. カスタムストラテジー
    7. 3.7. 外部アーティファクト
    8. 3.8. プライベートレジストリーでの Docker 認証情報の使用
    9. 3.9. ビルド環境
      1. 3.9.1. 環境変数としてのビルドフィールドの使用
      2. 3.9.2. 環境変数としてのシークレットの使用
    10. 3.10. ビルドの概要
      1. 3.10.1. シークレットのプロパティー
      2. 3.10.2. シークレットの種類
      3. 3.10.3. シークレットの更新
      4. 3.10.4. シークレットの作成
        1. 3.10.4.1. シークレットの使用
    11. 3.11. サービス提供証明書のシークレット
    12. 3.12. シークレットの制限
  5. 4. ビルド出力の管理
    1. 4.1. ビルド出力
    2. 4.2. アウトプットイメージの環境変数
    3. 4.3. アウトプットイメージのラベル
  6. 5. ビルドストラテジーの使用
    1. 5.1. Docker ビルド
      1. 5.1.1. Dockerfile FROM イメージの置き換え
      2. 5.1.2. Dockerfile パスの使用
      3. 5.1.3. Docker 環境変数の使用
      4. 5.1.4. Docker ビルド引数の追加
    2. 5.2. Source-to-Image (S2I) ビルド
      1. 5.2.1. Source-to-Image (S2I) 増分ビルドの実行
      2. 5.2.2. Source-to-Image (S2I) ビルダーイメージスクリプトの上書き
      3. 5.2.3. Source-to-Image (S2I) 環境変数
        1. 5.2.3.1. Source-to-Image (S2I) 環境ファイルの使用
        2. 5.2.3.2. Source-to-Image (S2I) BuildConfig 環境の使用
      4. 5.2.4. Source-to-Image (S2I) ソースファイルを無視する
      5. 5.2.5. S2I によるソースコードからのイメージの作成
        1. 5.2.5.1. S2I ビルドプロセスについて
        2. 5.2.5.2. S2I スクリプトの作成
          1. 5.2.5.2.1. S2I スクリプトの例
    3. 5.3. カスタムビルド
      1. 5.3.1. カスタムビルドの FROM イメージの使用
      2. 5.3.2. カスタムビルドでのシークレットの使用
      3. 5.3.3. カスタムビルドの環境変数の使用
      4. 5.3.4. カスタムビルダーイメージの使用
        1. 5.3.4.1. カスタムビルダーイメージ
        2. 5.3.4.2. カスタムビルダーのワークフロー
    4. 5.4. パイプラインビルド
      1. 5.4.1. OpenShift Container Platform Pipeline について
      2. 5.4.2. Pipeline ビルド用の Jenkinsfile の提供
      3. 5.4.3. Pipeline ビルドの環境変数の使用
        1. 5.4.3.1. BuildConfig 環境変数と Jenkins ジョブパラメーター間のマッピング
      4. 5.4.4. Pipeline ビルドのチュートリアル
    5. 5.5. Web コンソールを使用したシークレットの追加
    6. 5.6. プルおよびプッシュの有効化
  7. 6. Buildah によるカスタムイメージビルド
    1. 6.1. 前提条件
    2. 6.2. カスタムビルドアーティファクトの作成
    3. 6.3. カスタムビルダーイメージのビルド
    4. 6.4. カスタムビルダーイメージの使用
  8. 7. 基本的なビルドの実行
    1. 7.1. ビルドの開始
      1. 7.1.1. ビルドの再実行
      2. 7.1.2. ビルドログのストリーミング
      3. 7.1.3. ビルド開始時の環境変数の設定
      4. 7.1.4. ソースを使用したビルドの開始
    2. 7.2. ビルドの中止
      1. 7.2.1. 複数ビルドの中止
      2. 7.2.2. すべてのビルドの中止
      3. 7.2.3. 指定された状態のすべてのビルドの中止
    3. 7.3. BuildConfig の削除
    4. 7.4. ビルドの詳細表示
    5. 7.5. ビルドログへのアクセス
      1. 7.5.1. BuildConfig ログへのアクセス
      2. 7.5.2. 特定バージョンのビルドについての BuildConfig ログへのアクセス
      3. 7.5.3. ログの冗長性の有効化
  9. 8. ビルドのトリガーおよび変更
    1. 8.1. ビルドトリガー
      1. 8.1.1. Webhook のトリガー
        1. 8.1.1.1. GitHub Webhook の使用
        2. 8.1.1.2. GitLab Webhook の使用
        3. 8.1.1.3. Bitbucket Webhook の使用
        4. 8.1.1.4. Generic Webhook の使用
        5. 8.1.1.5. Webhook URL の表示
      2. 8.1.2. イメージ変更トリガーの使用
      3. 8.1.3. 設定変更のトリガー
        1. 8.1.3.1. トリガーの手動設定
    2. 8.2. ビルドフック
      1. 8.2.1. コミット後のビルドフックの設定
      2. 8.2.2. CLI を使用したコミット後のビルドフックの設定
  10. 9. 高度なビルドの実行
    1. 9.1. ビルドリソースの設定
    2. 9.2. 最長期間の設定
    3. 9.3. 特定のノードへのビルドの割り当て
    4. 9.4. チェーンビルド
    5. 9.5. ビルドのプルーニング
    6. 9.6. ビルド実行ポリシー
  11. 10. ビルドでの Red Hat サブスクリプションの使用
    1. 10.1. Red Hat Universal Base Image への ImageStreamTag の作成
    2. 10.2. ビルドシークレットとしてのサブスクリプションエンタイトルメントの追加
    3. 10.3. Subscription Manager を使用したビルドの実行
      1. 10.3.1. Subscription Manager 設定のビルドへの追加
      2. 10.3.2. Subscription Manager を使用した Docker ビルド
    4. 10.4. Satellite サブスクリプションを使用したビルドの実行
      1. 10.4.1. Satellite 設定のビルドへの追加
      2. 10.4.2. Satellite サブスクリプションを使用した Docker ビルド
    5. 10.5. Docker ビルドによる層の非表示
    6. 10.6. 追加リソース
  12. 11. ストラテジーによるビルドのセキュリティー保護
    1. 11.1. ビルドストラテジーへのアクセスのグローバルな無効化
    2. 11.2. ユーザーへのビルドストラテジーのグルーバルな制限
    3. 11.3. プロジェクト内でのユーザーへのビルドストラテジーの制限
  13. 12. ビルド設定リソース
    1. 12.1. ビルドコントローラー設定パラメーター
    2. 12.2. ビルド設定の設定
  14. 13. ビルドのトラブルシューティング
    1. 13.1. リソースへのアクセスのための拒否の解決
    2. 13.2. サービス証明書の生成に失敗
  15. 14. ビルドの信頼される認証局の追加設定
    1. 14.1. クラスターへの認証局の追加
    2. 14.2. 追加リソース
  16. 15. ConfigMap の作成および使用
    1. 15.1. ConfigMap について
    2. 15.2. ConfigMap の作成
      1. 15.2.1. ディレクトリーからの ConfigMap の作成
      2. 15.2.2. ファイルからの ConfigMap の作成
      3. 15.2.3. リテラル値からの ConfigMap の作成
    3. 15.3. ユースケース: Pod での ConfigMap の使用
      1. 15.3.1. ConfigMap の使用によるコンテナーでの環境変数の設定
      2. 15.3.2. ConfigMap を使用したコンテナーコマンドのコマンドライン引数の設定
      3. 15.3.3. ConfigMap の使用によるボリュームへのコンテンツの挿入

14.2. 追加リソース

  • Create a ConfigMap
  • Secrets and ConfigMaps
  • カスタム PKI の設定
  1. Previous
  2. Next
Red Hat

Quick Links

  • Downloads
  • Subscriptions
  • Support Cases
  • Customer Service
  • Product Documentation

Help

  • Contact Us
  • Customer Portal FAQ
  • Log-in Assistance

Site Info

  • Trust Red Hat
  • Browser Support Policy
  • Accessibility
  • Awards and Recognition
  • Colophon

Related Sites

  • redhat.com
  • developers.redhat.com
  • connect.redhat.com
  • cloud.redhat.com

About

  • Red Hat Subscription Value
  • About Red Hat
  • Red Hat Jobs
Copyright © 2023 Red Hat, Inc.
  • Privacy Statement
  • Terms of Use
  • All Policies and Guidelines
Red Hat Summit Red Hat Summit
Twitter