coder / coder/envbuilder

feat: add `envbuilder install-feature` command

Open
#361 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
300
Forks
64
Avg merge
20m
Merged PRs (30d)
1

Description

I am looking into adding a module to the registry that would let template administrators install Dev Container features inside Coder Workspaces (even outside of `envbuilder`).

I think `envbuilder` already has the logic to install features, so I think the most logical thing to do would be to create a separate command just to install a given feature.

While Dev Container features are only shell scripts, there is still some logic needed for arguments in the manifest, e.g `dependsOn`.

See https://github.com/coder/modules/issues/307 for more context.

## Usage

`envbuilder install-feature `
Ideally, `source` could be either a Git URL, a local folder or a path to an image.

---

cc: @johnstcn

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the existing Dev Container feature installation logic in envbuilder and review how feature manifests handle arguments and dependsOn. Read coder/modules#307 for context, then determine the command's scope for Git URLs, local folders, and image paths. Done means a documented install-feature command supports the agreed source forms and dependency handling.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.