Skip to content

Support Coder-specific Devcontainer customizations #450

Open
1 of 2 issues completed
Open
Feature
1 of 2 issues completed
@johnstcn

Description

@johnstcn

Problem

In order to allow the full coder_app experience with applications running inside a devcontainer, we need to allow decoupling coder_apps from the template. Currently a coder_app is only defined inside the template.

Proposed Solution

Allow devcontainers to declare a subset of the coder_app spec inside customizations.coder. This can then be read by the agent and used to dynamically create / update coder_apps for the workspace agent.

For example:

{
  [...]
  "customizations": {
    "coder": { // or maybe `com.coder.coder` instead?
      "apps": [
        { // we can basically allow the entire coder_app spec in here, within reason
          "slug": "code-server",
          "display_name": "Code Server inside your Devcontainer!",
          "url": 13337,
          "icon": "/icon/code.svg",
          "share": "owner",
          "healthcheck": { [.. ] }
        }
      ]
    }
  }
}

Sub-issues

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions