Skip to content

Conversation

Copy link

Copilot AI commented Nov 6, 2025

Scaffolds a complete DevContainer Feature for installing the Microsoft DevTunnel CLI, enabling developers to create secure tunnels to localhost for webhook testing, remote collaboration, and device testing.

Implementation

Feature Core (src/devtunnel/)

  • devcontainer-feature.json - Feature metadata with version option
  • install.sh - Multi-architecture installer (amd64/arm64) with 3-attempt retry logic
  • README.md / NOTES.md - Feature documentation and usage examples

CI/CD (.github/workflows/)

  • ci.yml - JSON/shell validation + feature testing
  • release.yml - GHCR publishing workflow

Documentation

  • Root README.md - Project overview and quick start
  • CONTRIBUTING.md - Contribution guidelines
  • examples/basic/ - Working example configuration

Usage

{
  "features": {
    "ghcr.io/abeckDev/devtunnel-devcontainer-feature/devtunnel:1": {}
  }
}

Then in container:

devtunnel user login
devtunnel host -p 3000 --allow-anonymous

Follows DevContainer Features spec, modeled after the Azure CLI feature implementation.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • aka.ms
    • Triggering command: curl -sL REDACTED -I (dns block)
    • Triggering command: curl -sSL REDACTED -o /usr/local/bin/devtunnel (dns block)
  • learn.microsoft.com
    • Triggering command: curl -s REDACTED (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

I want to create a Devcontainer Feature for the Devtunnel CLI. Prepare the scaffold as good as possible and add documentation.

Devtunnel: https://learn.microsoft.com/en-us/azure/developer/dev-tunnels/overview

Sample: https://github.com/devcontainers/features/tree/main/src/azure-cli


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI and others added 5 commits November 6, 2025 16:12
Co-authored-by: abeckDev <8720854+abeckDev@users.noreply.github.com>
…lines

Co-authored-by: abeckDev <8720854+abeckDev@users.noreply.github.com>
Co-authored-by: abeckDev <8720854+abeckDev@users.noreply.github.com>
…ecated settings

Co-authored-by: abeckDev <8720854+abeckDev@users.noreply.github.com>
Copilot AI changed the title [WIP] Add Devcontainer feature for Devtunnel CLI Add DevTunnel CLI DevContainer Feature Nov 6, 2025
Copilot AI requested a review from abeckDev November 6, 2025 16:24
@abeckDev abeckDev marked this pull request as ready for review November 6, 2025 17:41
@abeckDev abeckDev merged commit 49f5361 into main Nov 6, 2025
2 of 4 checks passed
@abeckDev abeckDev deleted the copilot/create-devcontainer-feature-devtunnel branch November 6, 2025 17:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants