Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Support selecting between multiple Dockerfiles via parameter

Open
#481 1 comment 0 reactions 0 assignees View on GitHub

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

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from coder/envbuilder

All issues in coder/envbuilder

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.