coder / coder/envbuilder

Dockerfile USER statement does not work with variables

未关闭
#90 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
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

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。