AutoCloud includes a ready-to-use dev container configuration so you can start contributing or using the project instantly in GitHub Codespaces (or any dev container-compatible tool like VS Code Dev Containers).
az login when prompted.Dev Containers: Reopen in Container).az login.mcr.microsoft.com/devcontainers/base:ubuntu — a lightweight Ubuntu image maintained by Microsoft.
| Feature | Version | Purpose |
|---|---|---|
| Azure CLI | latest | Azure resource management and deployments |
| GitHub CLI | latest | PR creation, issue management, workflow dispatch |
| Python | 3.12 | Checkov IaC scanner and scripting |
| Node.js | 20 | Tooling and automation scripts |
| PowerShell | latest | PSRule, ARM-TTK, and Azure PowerShell modules |
| Common utilities | — | Zsh with Oh My Zsh as default shell |
The post-create.sh script runs automatically after the container is built and installs:
The following extensions are automatically installed in the container:
| Extension | Purpose |
|---|---|
| GitHub Copilot | AI coding assistant |
| GitHub Copilot Chat | Chat-based AI assistance |
| Azure Resource Groups | Browse and manage Azure resource groups |
| Azure Functions | Develop and deploy Azure Functions |
| Azure MCP Server | Azure MCP integration for Copilot agents |
| PSRule | Run PSRule validation from VS Code |
The Azure MCP server is preconfigured with:
azureMcp.serverMode: namespace — organizes tools by Azure service.azureMcp.readOnly: false — allows read and write operations.Once the environment is ready:
az login to authenticate. For Codespaces, az login --use-device-code works best.az account show to confirm your subscription.@autocloud deploy a Python function app.To add features or tools to the dev container:
features object in .devcontainer/devcontainer.json..devcontainer/post-create.sh.customizations.vscode.extensions in .devcontainer/devcontainer.json.| Issue | Solution |
|---|---|
| Codespace build fails | Check the creation log for errors. Common cause: feature version conflicts. |
az login fails in Codespaces |
Use az login --use-device-code for browser-based auth. |
| ARM-TTK not found | Run pwsh and verify the profile loaded: Get-Module arm-ttk -ListAvailable. |
| Checkov not found | Run pip install --user checkov manually. |
| Extensions missing | Reload the window (Ctrl+Shift+P → Developer: Reload Window). |