Skip to content

Install witr in the devcontainer - #21

Closed
bmorton with Copilot wants to merge 1 commit into
mainfrom
copilot/install-witr-in-devcontainer
Closed

bmorton with Copilot wants to merge 1 commit into
mainfrom
copilot/install-witr-in-devcontainer

Conversation

Copilot AI commented Jun 3, 2026

Copy link
Copy Markdown
Contributor

Adds the witr CLI ("why is this running?") to the devcontainer.

witr ships as a single static Go binary, so this uses the gh-release feature—consistent with how other tools in this container are provisioned—to fetch the released Linux binary and place it on PATH (/usr/local/bin/witr), tracking the latest release.

Changes

  • .devcontainer/devcontainer.json: add the gh-release feature targeting pranshuparmar/witr.
    • assetRegex pins selection to the raw witr-linux-amd64/witr-linux-arm64 binary, disambiguating from the .deb/.rpm/.apk packages that share the same arch suffix.
"ghcr.io/devcontainers-extra/features/gh-release:1": {
  "repo": "pranshuparmar/witr",
  "binaryNames": "witr",
  "assetRegex": "^witr-linux-(amd64|arm64)$"
}

bmorton added a commit that referenced this pull request Oct 30, 2026
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AihTX41wWUjfBk3c2A9h2Z
@bmorton

bmorton commented Oct 30, 2026

Copy link
Copy Markdown
Owner

Closing: devcontainer features are removed in #39. witr is added there via mise instead (witr = "0.3.4" in .devcontainer/mise.toml).

@bmorton bmorton closed this Oct 30, 2026
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