Azure-Samples / Azure-Samples/azure-container-apps-sandboxes
aca CLI install uses raw.githubusercontent URL instead of the documented aka.ms short link
- Dominant language
- Python
- Stars
- 15
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
## Summary
Several READMEs and the swarm `run.sh` scripts install the `aca` CLI from `https://raw.githubusercontent.com/microsoft/azure-container-apps/main/docs/early/aca-cli/install.sh` (and `install.ps1`), while the documented install command is `curl -fsSL https://aka.ms/aca-cli-install | sh` (PowerShell: `irm https://aka.ms/aca-cli-install-ps | iex`). The repo is internally inconsistent: `cli/samples/01-webapps/simple-anonymous/cli/README.md` already uses `https://aka.ms/aca-cli-install`.
## Affected (non-exhaustive)
- `cli/README.md` (multiple lines)
- `cli/samples/04-swarms/01-sandbox-inception/cli/run.sh` (in-sandbox bootstrap)
- `cli/samples/04-swarms/02-shared-blob-memory/cli/run.sh`
## Fix
Standardize on `https://aka.ms/aca-cli-install` / `https://aca.ms/aca-cli-install-ps`. For the in-sandbox bootstrap in the swarm scripts, confirm the short link installs the same binary in that context before swapping.
Contributor guide
Research direction
Start with cli/README.md and the listed swarm run.sh files, comparing them with cli/samples/01-webapps/simple-anonymous/cli/README.md, which already uses the short link. Verify that the short link installs the same aca CLI in the in-sandbox context, then update the affected install references. Done means the documented and affected bootstrap commands consistently use the appropriate aka.ms links.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- powershell, shell
- Domain
- cli, documentation
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 75/100