testcontainers / testcontainers/testcontainers-java
Ability to specify the image pull policy in the DockerComposeContainer
まだ誰も着手していません。
- 主要言語
- Java
- スター
- 8.7k
- フォーク
- 1.9k
- 平均マージ
- 2日 17時間
- マージ済み PR(30日)
- 9
説明
Hi!
I suggest adding the ability to specify the image pull policy to DockerComposeContainer. There is currently no way to tell DockerComposeContainer to pull the latest version of images from the remote repository when the image is already present in the local repository.
I believe that we can follow the analogy with the one implemented in org.testcontainers.containers.GenericContainer and add the method withImagePullPolicy to the DockerComposeContainer. In this case, the pull policy will be applied to all images that are found in docker-compose config files.
An alternative option would be, for example, specifying the image pull policy for individual services.
I am ready to implement this feature and await feedback.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
DockerComposeContainer から始め、GenericContainer の image-pull-policy の実装と API を比較します。Docker Compose 設定のイメージがどのように処理されるかを追跡し、その後、それらのイメージに対して要求されたポリシーの動作を定義してテストします。これには、グローバルに適用されるのか、サービスごとに適用されるのかの確認も含まれます。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- docker, docker-compose, java
- 領域
- devops, testing
- issue の種類
- 機能追加
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 45/100