Skip to content

[FEATURE] Create a Devcontainer feature #717

Closed

Description

Is your feature request related to a problem? Please describe.
APM is not currently available as a Dev Container Feature, creating one will allow for easier consumption of the tool.

The only option today is to manually install it in devcontainer.json (e.g. via postCreateCommand), which is less reusable, less discoverable, and harder to standardise across environments. It also prevents APM from appearing in the feature ecosystem (https://containers.dev/features).

Describe the solution you'd like
Provide APM as a Dev Container Feature.

This would allow usage like:

    {
      "features": {
        "ghcr.io/devcontainers/features/apm:1": {}
      }
    }

or, if published under a Microsoft-owned collection:

    {
      "features": {
        "ghcr.io/microsoft/devcontainer-features/apm:1": {}
      }
    }

Implementation would require the steps noted here.

Describe alternatives you've considered

  • Manual install in devcontainer.json (e.g. postCreateCommand)

    • Works, but is not reusable or discoverable and must be repeated across projects
  • Publishing via a separate non-Microsoft collection

    • Creates ambiguity around ownership and long-term maintenance

Additional context
There are two plausible locations for this:

  • devcontainers/features/src/apm (if maintainers accept a new feature)
  • A Microsoft-owned Dev Container Feature collection (if ownership is preferred) - e.g. microsoft/devcontainer-features

Activity

  1. added
    enhancement
    needs-triage
    on Apr 15, 2026
  2. added
    accepted
    and removed
    needs-triage
    on Apr 15, 2026
  3. coakenfold commented on Apr 23, 2026

    @coakenfold
    Contributor

    Hello, I opened a PR for this feature. I'm not 100% certain if it should be within this repository or a new standalone repo. Thanks.

  4. github-actions commented on Apr 26, 2026

    @github-actions

    Triage decision

    accept

    Proposed labels

    theme/portability
    area/distribution
    area/docs-site
    type/feature
    status/accepted
    priority/low
    

    Milestone

    0.9.4

    Suggested next action

    Decide on the publication location (devcontainers/features community collection vs. microsoft/devcontainer-features) and create the feature skeleton (devcontainer-feature.json + install.sh) referencing APM's tagged release binary download.

    Suggested issue comment

    Thanks for the detailed proposal, `@Gary-H9`! A Dev Container Feature is a natural distribution channel for APM -- it makes APM discoverable in the VS Code and Codespaces feature ecosystem and eliminates the `postCreateCommand` workaround.
    
    The main decision before implementation is the publication location:
    - **`devcontainers/features`** (community collection): broader discoverability, but requires a PR to a third-party repo and their review process.
    - **`microsoft/devcontainer-features`** (if it exists) or a new **`microsoft/apm-devcontainer-feature`** repo: Microsoft-owned, easier to maintain, but less discoverable initially.
    
    A good first step is to draft the `devcontainer-feature.json` + `install.sh` skeleton (mirroring the logic in `install.sh` -- download the tagged binary for the right platform, verify the checksum, add to PATH) and open it as a PR or discussion so maintainers can weigh in on location.
    
    This is a great `good first issue` for someone comfortable with the devcontainer feature spec. We will be happy to review a draft!

    Per-lens notes (collapsed)

    DevX UX Expert -- User-Need Reviewer

    Devcontainer features are widely adopted in VS Code, GitHub Codespaces, and GitHub Copilot coding environments. The current postCreateCommand workaround is not reusable or discoverable. A feature enables teams to add "ghcr.io/.../apm:1" to their devcontainer.json declaratively, which is the standard pattern for CLI tools in this ecosystem. The two proposed locations are both valid and the author has researched both.

    Supply Chain Security Expert -- Risk-Surface Reviewer

    The devcontainer feature install.sh script downloads the APM binary at container build time. Like install.sh, it must: (1) download from a pinned tagged release URL (not a floating latest), (2) verify the checksum before execution. The existing install.sh already handles this correctly and can be the reference implementation. No new supply chain surface beyond what the existing installer exposes.

    OSS Growth Hacker -- Contributor-Tone Reviewer

    Gary-H9 has author_association=NONE on microsoft/apm and filed a well-researched proposal including references to the devcontainers spec and two concrete location options. This is a motivated new contributor with relevant domain knowledge. The reply should be warm, give them a concrete first step (draft the feature skeleton), and make clear that the location decision is a maintainer call they can help inform but do not need to resolve alone.

    Python Architect -- Architecture Reviewer

    Not activated -- a devcontainer feature is a shell script (install.sh) and a JSON metadata file (devcontainer-feature.json) hosted in a separate repository. No Python architecture decision is involved. Feasibility: high, the implementation pattern is well-documented at containers.dev/implementors/features.

    Doc Writer -- Documentation Reviewer

    The README installation section and docs/src/content/docs/getting-started/installation.md need a "Dev Container" installation option once the feature is published. area/docs-site as a secondary label ensures the implementing PR (or a follow-up) updates the docs. The feature itself is self-documenting via devcontainer-feature.json metadata.

    APM CEO -- Triage Arbiter

    Human label accepted is authoritative -- direction is approved. Devcontainer feature is a low-effort, high-discoverability distribution win. The location decision (community vs. Microsoft-owned) is the only blocker and is a maintainer call. Priority/low; milestone 0.9.4 as a patch-ready distribution improvement. This is a genuine good first issue for someone familiar with the devcontainer feature spec.

    {
      "decision": "accept",
      "decision_detail": "",
      "theme": "theme/portability",
      "areas": ["area/distribution", "area/docs-site"],
      "type": "type/feature",
      "status": "status/accepted",
      "priority": "priority/low",
      "preserved_labels": ["good first issue"],
      "milestone": "0.9.4",
      "next_action": "Decide on publication location and create the feature skeleton (devcontainer-feature.json + install.sh) referencing APM's tagged release binary download.",
      "comment_markdown": "Thanks for the detailed proposal, `@Gary-H9`! A Dev Container Feature is a natural distribution channel for APM -- it makes APM discoverable in the VS Code and Codespaces feature ecosystem and eliminates the `postCreateCommand` workaround.\n\nThe main decision before implementation is the publication location:\n- **`devcontainers/features`** (community collection): broader discoverability, but requires a PR to a third-party repo and their review process.\n- **`microsoft/devcontainer-features`** (if it exists) or a new **`microsoft/apm-devcontainer-feature`** repo: Microsoft-owned, easier to maintain, but less discoverable initially.\n\nA good first step is to draft the `devcontainer-feature.json` + `install.sh` skeleton (mirroring the logic in `install.sh` -- download the tagged binary for the right platform, verify the checksum, add to PATH) and open it as a PR or discussion so maintainers can weigh in on location.\n\nThis is a great `good first issue` for someone comfortable with the devcontainer feature spec. We will be happy to review a draft!"
    }

    Triage status: agentic proposal pending human ratification.
    Silence is approval. Maintainers can:

    • Override any label or milestone above by editing it directly --
      human edits are authoritative and will not be reverted on
      subsequent runs.
    • Re-trigger triage by applying the status/needs-triage label, or
      by removing status/triaged to enroll the issue in the next
      daily sweep.

    Posted by the Triage Panel workflow. See .apm/skills/apm-triage-panel for the panel skill.

    Generated by Triage Panel · ● 2.2M · ◷

  5. added
    area/distribution
    area/docs-site
    good first issue
    priority/low
    status/accepted
    status/triaged
    type/feature
    on Apr 26, 2026
  6. added this to the 0.9.4 milestone on Apr 26, 2026
  7. moved this from In Progress to Done in APM Roadmapon Apr 28, 2026
  8. Gary-H9 commented on Jul 7, 2026

    @Gary-H9
    Author

    Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    acceptedarea/distributionarea/docs-siteenhancementgood first issuepriority/lowstatus/acceptedstatus/triagedtype/feature

    Type

    No type

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions