This repository contains sample code that allows you to use Visual Studio Code (VSCode) with Azure Container Instances. This can be useful if connectivity into VNETs is required. Feel free to fork and and customize!
- Azure Pipelines - used for automated building and provisioning of infrastructure
- CBL-Mariner - used as a base image of the OCI image
- VSCode Server - VSCode server is used to spin up a remote tunnel allowing vscode.dev to connect to
- Docker - used for building the OCI image
- build-code-dependencies pipeline - Builds and pushes the Docker image.
- provision-container-instance pipeline - One pipeline run provisions a single container instance ment for a single vscode tunnel.
To get started using this project, follow these steps:
- Import this repository into your Azure DevOps environment.
- Add the prepared pipelines and prepare the variable group called
vscodeado
. The required variables are documented within the corresponding pipeline. - Execute both pipelines using Azure Pipelines
- Use Visual Studio Code (vscode.dev) with your provisioned tunnel.