|
1 | | -# Dev Container templates |
| 1 | +# Dev Container Templates |
2 | 2 |
|
3 | | -The repository has a customized Dev Container template. |
| 3 | +A collection of [Dev Container Templates](https://containers.dev/implementors/templates/) for Azure Functions development. Each template provides a ready-to-use, multi-container environment with language-specific tooling and an [Azurite](https://github.com/Azure/Azurite) storage emulator. |
4 | 4 |
|
5 | | -## Azure Functions templates |
| 5 | +## Available Templates |
6 | 6 |
|
7 | | -The Dev Container Template for Azure Functions includes two containers, one for each language and an Azurite container. |
| 7 | +| Template | Languages / Runtimes | Supported Versions | |
| 8 | +| --- | --- | --- | |
| 9 | +| [Azure Functions (.NET)](./src/azure-functions-dotnet) | C#, .NET | 8.0 / 9.0 / 10.0 | |
| 10 | +| [Azure Functions (Java)](./src/azure-functions-java) | Java | 8 / 11 / 17 / 21 / 25 | |
| 11 | +| [Azure Functions (Node.js)](./src/azure-functions-node) | JavaScript, TypeScript | 20 / 22 / 24 | |
| 12 | +| [Azure Functions (PowerShell)](./src/azure-functions-powershell) | PowerShell | 7.4 | |
| 13 | +| [Azure Functions (Python)](./src/azure-functions-python) | Python | 3.10 / 3.11 / 3.12 / 3.13 / 3.14 | |
8 | 14 |
|
9 | | -| Template | Description | |
10 | | -| -------------------------------------------------------------------------- | ------------------------------------------------------------- | |
11 | | -| [Azure Functions (.NET)](./src/azure-functions-dotnet/README.md) | Develop Azure Functions using .NET 8/9/10 | |
12 | | -| [Azure Functions (Java)](./src/azure-functions-java/README.md) | Develop Azure Functions using Java 8/11/17/21 | |
13 | | -| [Azure Functions (Node.js)](./src/azure-functions-node/README.md) | Develop Azure Functions using Node.js 20/22/24 | |
14 | | -| [Azure Functions (PowerShell)](./src/azure-functions-powershell/README.md) | Develop Azure Functions using PowerShell 7.4 | |
15 | | -| [Azure Functions (Python)](./src/azure-functions-python/README.md) | Develop Azure Functions using Python 3.10/3.11/3.12/3.13/3.14 | |
| 15 | +> All templates include the Azure Functions Core Tools (version selectable, default: `latest`). |
| 16 | +
|
| 17 | +## Usage |
| 18 | + |
| 19 | +1. Open the Command Palette in VS Code and select **Dev Containers: Add Dev Container Configuration Files...** |
| 20 | +2. Choose **Show All Definitions...**, then search for `Azure Functions` |
| 21 | +3. Select the template that matches your language and configure the version options |
| 22 | + |
| 23 | +Alternatively, you can use the [Dev Container CLI](https://github.com/devcontainers/cli): |
| 24 | + |
| 25 | +```sh |
| 26 | +devcontainer templates apply -t ghcr.io/shibayan/devcontainers/azure-functions-node |
| 27 | +``` |
16 | 28 |
|
17 | 29 | ## License |
18 | 30 |
|
|
0 commit comments