Document ways of deriving environment variables within a Dockerfile
维护者通常 3 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 52/100
- Issue 类型
- 文档
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- dockerfile
调研方向
首先阅读 README 以及关于从 Dockerfile 构建参数派生值的链接 Moby 讨论。使用简洁的示例记录列出的方案,包括它们的作用域和持久性,并确保 README 解释如何生成诸如 3.8 这样的值的带点形式和紧凑形式。
由索引模型根据 Issue 内容生成。
描述
As discussed in architecture meeting 04.05.2022.
Sometimes an argument is passed in to a Dockerfile which needs to be used in different forms e.g. for --build-arg PYTHON=3.8 we may need 3.8 in places (for e.g. product downloads), but 38 in others (microdnf commands). There are different ways of deriving and persisting one variable from another, and this issue covers documenting them with examples in the README e.g.
- using the moby approach of choosing a specific base image (see here)
- use an inline script wrapped by a
RUNso that the derived variable is available for the scope of that command - source the environment variables and echo the environment to a file
- etc.
- 主要语言
- Dockerfile
- 星标
- 22
- 派生
- 6
- 平均合并
- 1 天 21 小时
- 30 天内合并 PR
- 30
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
stackabletech/docker-images 的其他 Issue
-
scheduled-for/26.11.0
难度 4/5 3-5 天 新手友好度 35/100
stackabletech/docker-images#1657 ·
维护者通常 3 天内回复
-
scheduled-for/26.11.0
难度 4/5 3-5 天 新手友好度 48/100
stackabletech/docker-images#1655 ·
维护者通常 3 天内回复
-
chore(opensearch-dashboards): Update major/minor versions for 26.11.0可能已有人在做 @siegfriedweber 于 5 天前认领。 未关闭scheduled-for/26.11.0
难度 4/5 3-5 天 新手友好度 45/100
stackabletech/docker-images#1654 · 已指派 1 人 ·
维护者通常 3 天内回复
-
chore(opensearch): Update major/minor versions for 26.11.0可能已有人在做 @siegfriedweber 于 6 天前认领。 未关闭scheduled-for/26.11.0
难度 4/5 3-5 天 新手友好度 52/100
stackabletech/docker-images#1653 · 已指派 1 人 ·
维护者通常 3 天内回复
-
scheduled-for/26.11.0
难度 4/5 3-5 天 新手友好度 52/100
stackabletech/docker-images#1652 ·
维护者通常 3 天内回复
查看 stackabletech/docker-images 的全部 Issue
相似的 Issue
-
sync-en
难度 1/5 1-3 小时 新手友好度 88/100
维护者通常 2 天内回复
-
external
难度 2/5 1-3 小时 新手友好度 68/100
langchain-ai/docs#6255 ·
维护者通常 1 天内回复
-
detectors enhancement good first issue
难度 2/5 1-3 小时 新手友好度 86/100
SM260845/readme-gen#1 ·
-
难度 2/5 1-3 小时 新手友好度 88/100
angular/angularfire#3774 ·
维护者通常 2 天内回复
-
good first issue help wanted opensource september
难度 1/5 1 小时以内 新手友好度 88/100