Support selecting between multiple Dockerfiles via parameter
- 主要语言
- Go
- 星标
- 300
- 派生
- 64
- 平均合并
- 20 分钟
- 30 天内合并 PR
- 1
描述
Could envbuilder support multiple dockerfiles in the same repo? For example:
./DockerfileA
./DockerfileB
I haven't found a way yet but a couple options I might include allowing specifying which Dockerfile to use through an environment variable (e.g., ENVBUILDER_DOCKERFILE_PATH), or by supporting variable substitution in devcontainer.json's dockerfile field.
贡献指南
这个仓库没有索引到贡献指南
调研方向
Start by tracing how envbuilder reads the devcontainer.json dockerfile field and selects a Dockerfile, then compare that path with the proposed ENVBUILDER_DOCKERFILE_PATH option. Done means a repository containing multiple Dockerfiles can reliably select the intended one through a documented parameter, with coverage for the selection behavior.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- docker, go
- 领域
- build-system, devops
- Issue 类型
- 功能
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 38/100