Support selecting between multiple Dockerfiles via parameter
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 38/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- docker, go
- Domain
- build-system, devops
Research direction
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.
Written by the indexing model from the issue text.
Description
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.
- Dominant language
- Go
- Stars
- 300
- Forks
- 64
- Avg merge
- 20m
- Merged PRs (30d)
- 1
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from coder/envbuilder
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 90/100
coder/envbuilder#506 ·
-
bug envbuilder needs-investigation
Difficulty 4/5 3-5 days Newbie friendliness 35/100
coder/envbuilder#495 ·
-
envbuilder Feature
Difficulty 3/5 1-2 days Newbie friendliness 56/100
coder/envbuilder#492 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
coder/envbuilder#484 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 38/100
coder/envbuilder#483 ·
All issues in coder/envbuilder
Similar issues
-
textual definition
Difficulty 1/5 Under an hour Newbie friendliness 90/100
geneontology/go-ontology#32653 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 75/100
-
needs design
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Priority/High ready-for-agent Severity/Major Type/Bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100