testcontainers / testcontainers/testcontainers-python
Feature: Temporary file volume mapping to dynamically generate generate the file content
まだ誰も着手していません。
- 主要言語
- Python
- スター
- 2.3k
- フォーク
- 386
- 平均マージ
- 4時間 40分
- マージ済み PR(30日)
- 1
説明
What are you trying to do?
Add a method to DockerContainer to dynamically add volume mappings
Why should it be done this way?
In memory dynamic volume bindings are incredibly useful, there are many use cases where you may want to dynamically generate file contents, and bind them to a container. Configuration is the core example
Other references:
This already exits in the .NET implementation, as an example https://dotnet.testcontainers.org/api/create_docker_container/#copying-directories-or-files-to-the-container
Would you like to implement a fix?
Yes
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
DockerContainer の volume-mapping エントリポイントから開始し、既存の mount 処理を、リンクされたファイルコピーの .NET 例と比較します。生成されたファイルの内容を要求されたコンテナパスで利用できるようにする API を追加し、その結果の volume mapping が機能することを示すカバレッジを追加します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- docker, python
- 領域
- infrastructure
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100