Dockerfile USER statement does not work with variables
未关闭
- 主要语言
- Go
- 星标
- 300
- 派生
- 64
- 平均合并
- 20 分钟
- 30 天内合并 PR
- 1
描述
It is not possible to use variables within the docker USER statement. The variable will be interpreted as value.
Example: https://gitlab.com/nwrkbiz/cpp-design-patterns/-/tree/b81d6fdd2fcac393b491e8725387c99cf822b291/.devcontainer
贡献指南
这个仓库没有索引到贡献指南
调研方向
使用链接的 cpp-design-patterns .devcontainer Dockerfile 重现该问题,重点关注其中带有变量的 USER 语句。跟踪 envbuilder 如何处理该语句,并验证变量是否按预期解析,而不是被当作字面值处理。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- docker, dockerfile
- 领域
- devops
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100