Skip to content

Commit

Permalink
dev container configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
kapilvgit committed Nov 10, 2023
1 parent 7d748ce commit 7dc3974
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"image": "mcr.microsoft.com/devcontainers/universal:2",
"features": {
"ghcr.io/devcontainers/features/azure-cli:1": {
"version": "latest"
}
},
"postCreateCommand": "pip install -r requirements.txt"
}
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,10 @@ Clone this repo as follows, and follow [instructions](./scenarios/covid/README.m

```bash
git clone --recursive http://github.com/iSPIRT/depa-training
```

You can also use Github codespaces using the [dev container](./.devcontainer/devcontainer.json) to create a development environment. Please ensure you allocate at least 64GB disk space in your codespace. Also, run the following command in the Codespace to update submodules.

```bash
git submodule update --init --recursive
```
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
wheel
2 changes: 1 addition & 1 deletion scenarios/covid/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ For deploying the sample to Azure, you will additionally need.

- Valid Azure subscription with sufficient access to create key vault, storage accounts, storage containers, and Azure Container Instances.
- [Azure Key Vault](https://azure.microsoft.com/en-us/products/key-vault/) to store encryption keys and implement secure key release to CCR. You can either you Azure Key Vault Premium (lower cost), or [Azure Key Vault managed HSM](https://learn.microsoft.com/en-us/azure/key-vault/managed-hsm/overview) for enhanced security. Please see instructions below on how to create and setup your AKV instance.
- [Azure CLI](https://learn.microsoft.com/en-us/cli/azure/install-azure-cli-linux).
- [Azure CLI](https://learn.microsoft.com/en-us/cli/azure/install-azure-cli-linux). This is pre-installed if you are using Codespaces.
- [Azure CLI Confidential containers extension](https://learn.microsoft.com/en-us/cli/azure/confcom?view=azure-cli-latest). After installing Azure CLI, you can install this extension using ```az extension add --name confcom -y```
- [Go](https://go.dev/doc/install). Follow the instructions to install Go. After installing, ensure that the PATH environment variable is set to include ```go``` runtime.
- ```jq```. You can install jq using ```sudo apt-get install -y jq```
Expand Down

0 comments on commit 7dc3974

Please sign in to comment.