feature request: expand "Customizing Image Pull Behavior" to include a "platform" override
維護者通常 1 天內回覆
還沒有人認領這個 Issue。
評估
- 難度
- 5/5
- 預估耗時
- 一週以上
- 新手友好度
- 25/100
- Issue 類型
- 功能
- 描述清晰度
- 需要釐清
- 活躍度
- 停滯
- 技術堆疊
- docker, java
- 領域
- devops, documentation
研究方向
閱讀「Customizing Image Pull Behavior」和「Image Pull Policy」章節,然後檢視連結的 issue 以及已記錄的 CreateContainerCmdModifier 作法。只有在就所提議的平台設定和行為達成共識,並完成實作、測試與文件化後,該 issue 才算完成。
由索引模型根據 Issue 內容生成。
描述
In the "Customizing Image Pull Behavior" section:
https://java.testcontainers.org/features/configuration/#customizing-image-pull-behaviour
there is an ability to to specify the behavior of timeouts while pulling.
There is also "pull.policy" which is not documented here but only in another place (https://java.testcontainers.org/features/advanced_options/#image-pull-policy)
the idea is to add a "pull.platform" or "pull.default-platform" or something which will override the platform detected normally with the one given as a property.
The proposal, initially to provide a single value as an override, is amended to provide two settings. one of which is a list of platforms to attempt to use - say ["darwin/arm64", "linux/arm64", "linux/amd64"] - and another which is a boolean flag which says whether or not the first one is a strict requirement (if false - implicit last thing to try is the default behavior). if the flag is true, and the first parameter is not null, the image pull action fails if none of the archs are present.
and document it in this section.
pros:
satisfy the needs described here - https://github.com/testcontainers/testcontainers-java/issues/3810#issuecomment-1876900016
cons:
potentially a satisfactory solution can be contained in user code as here - https://java.testcontainers.org/features/advanced_options/#using-createcontainercmdmodifier
conclusion:
purpose of this issue is to determine whether or not this addition is welcome as it seems to solve a need based on the other thread (linked in pros section)
- 主要語言
- Java
- 星號
- 8.8k
- 分支
- 2k
- 平均合併
- 2 天 1 小時
- 30 天內合併 PR
- 11
環境準備
在瀏覽器裡用你自己的 GitHub 帳號啟動這個專案的開發容器。
- 提供 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
testcontainers/testcontainers-java 的其他 Issue
-
[Bug]: WaitStrategyTarget Handles Multiple Ports Differently to Documentation可能已有人在做 @suvvvv 於 2 天前認領。 未關閉type/bug
難度 2/5 1-3 小時 新手友好度 68/100
testcontainers/testcontainers-java#12196 ·
維護者通常 1 天內回覆
-
[Bug]: DockerImageName treats uppercase registry names as repository paths可能已有人在做 關聯的 PR 仍在進行中或已合併。 未關閉
難度 2/5 1-3 小時 新手友好度 78/100
testcontainers/testcontainers-java#12186 · 1 則留言 ·
維護者通常 1 天內回覆
-
[Bug]: withStartupTimeout() changes the startup timeout of all containers that use the default wait strategy可能已有人在做 @aymenjamaaoui 於 18 天前認領。 未關閉type/bug
難度 2/5 1-3 小時 新手友好度 64/100
testcontainers/testcontainers-java#12171 · 1 則留言 ·
維護者通常 1 天內回覆
-
[Enhancement]: Document why singleton containers are required under Spring's test context caching可能已有人在做 @zakaullah075 於 111 天前認領。 未關閉type/enhancement
難度 1/5 1 小時以內 新手友好度 85/100
testcontainers/testcontainers-java#11967 · 1 則留言 ·
維護者通常 1 天內回覆
-
[Bug]: Cannot reuse Selenium BrowserWebDriverContainers under Linux可能已有人在做 @kdelay 於 133 天前認領。 未關閉type/bug
難度 2/5 1-3 小時 新手友好度 78/100
testcontainers/testcontainers-java#11941 ·
維護者通常 1 天內回覆
查看 testcontainers/testcontainers-java 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 76/100
oracle/graalvm-reachability-metadata#12264 ·
維護者通常 1 天內回覆
-
[BUG] AppSync: GetIntrospectionSchema wraps the schema in JSON instead of returning the raw SDL body未關閉
難度 2/5 1-3 小時 新手友好度 75/100
floci-io/floci#10107 · 1 則留言 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 74/100
維護者通常 1 天內回覆
-
good first issue help wanted
難度 2/5 1-3 小時 新手友好度 88/100
erkamyaman/rust-anything#1381 ·
維護者通常 1 天內回覆
-
enhancement good first issue
難度 2/5 1-3 小時 新手友好度 85/100
維護者通常 1 天內回覆