-
Notifications
You must be signed in to change notification settings - Fork 341
Updating all templates to use the devconatiner feature #2489
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
hemarina
merged 10 commits into
Azure:main
from
aaronpowell:aaronpowell/devcontainer-feature-usage
Jul 13, 2023
Merged
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
0a9eb7b
Updating all templates to use the devconatiner feature
aaronpowell 8907989
Using the latest tag for feature
aaronpowell 0a3adb3
Removing apt-install of azd deps in Dockerfile
aaronpowell 5d5f1cc
update two more from stable to latest
hemarina f9260b4
remove base dockerfile
hemarina ded5ccd
add image for devcontainer.json without dockerfile
hemarina 7f2ff39
add specific azd version in readme
hemarina f243a4a
fix folder path
hemarina f605759
fix folder for python/nodejs
hemarina 57ffdcd
fix json not found bug
hemarina File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,5 @@ | ||
| ARG IMAGE=bullseye | ||
| FROM --platform=amd64 mcr.microsoft.com/devcontainers/${IMAGE} | ||
| RUN export DEBIAN_FRONTEND=noninteractive \ | ||
| && apt-get update && apt-get install -y xdg-utils \ | ||
| && apt-get update && apt-get install --yes --no-install-recommends postgresql-client \ | ||
| && apt-get clean -y && rm -rf /var/lib/apt/lists/* | ||
| RUN curl -fsSL https://aka.ms/install-azd.sh | bash |
10 changes: 3 additions & 7 deletions
10
templates/common/.devcontainer/devcontainer.json/aks/nodejs/devcontainer.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 3 additions & 8 deletions
11
templates/common/.devcontainer/devcontainer.json/bicep-starter/devcontainer.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 3 additions & 7 deletions
10
templates/common/.devcontainer/devcontainer.json/csharp/devcontainer.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
41 changes: 41 additions & 0 deletions
41
templates/common/.devcontainer/devcontainer.json/csharp/func/devcontainer.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,41 @@ | ||
| { | ||
| "name": "Azure Developer CLI", | ||
| "build": { | ||
| "dockerfile": "Dockerfile", | ||
| "args": { | ||
| "IMAGE": "dotnet:6.0-bullseye" | ||
| } | ||
| }, | ||
| "features": { | ||
| "ghcr.io/devcontainers/features/docker-in-docker:2": { | ||
| }, | ||
| "ghcr.io/devcontainers/features/node:1": { | ||
| "version": "16", | ||
| "nodeGypDependencies": false | ||
| }, | ||
| "ghcr.io/azure/azure-dev/azd:latest": {} | ||
| }, | ||
| "customizations": { | ||
| "vscode": { | ||
| "extensions": [ | ||
| "GitHub.vscode-github-actions", | ||
| "ms-azuretools.azure-dev", | ||
| "ms-azuretools.vscode-azurefunctions", | ||
| "ms-azuretools.vscode-bicep", | ||
| "ms-azuretools.vscode-docker", | ||
| "ms-dotnettools.csharp", | ||
| "ms-dotnettools.vscode-dotnet-runtime", | ||
| "ms-vscode.vscode-node-azure-pack" | ||
| ] | ||
| } | ||
| }, | ||
| "forwardPorts": [ | ||
| 3000, | ||
| 3100 | ||
| ], | ||
| "postCreateCommand": "", | ||
| "remoteUser": "vscode", | ||
| "hostRequirements": { | ||
| "memory": "8gb" | ||
| } | ||
| } |
10 changes: 3 additions & 7 deletions
10
templates/common/.devcontainer/devcontainer.json/java/devcontainer.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 3 additions & 7 deletions
10
templates/common/.devcontainer/devcontainer.json/nodejs/devcontainer.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
38 changes: 38 additions & 0 deletions
38
templates/common/.devcontainer/devcontainer.json/nodejs/func/devcontainer.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,38 @@ | ||
| { | ||
| "name": "Azure Developer CLI", | ||
| "build": { | ||
| "dockerfile": "Dockerfile", | ||
| "args": { | ||
| "IMAGE": "javascript-node:16-bullseye" | ||
| } | ||
| }, | ||
| "features": { | ||
| "ghcr.io/devcontainers/features/docker-in-docker:2": { | ||
| }, | ||
| "ghcr.io/azure/azure-dev/azd:latest": {} | ||
| }, | ||
| "customizations": { | ||
| "vscode": { | ||
| "extensions": [ | ||
| "dbaeumer.vscode-eslint", | ||
| "esbenp.prettier-vscode", | ||
| "GitHub.vscode-github-actions", | ||
| "ms-azuretools.azure-dev", | ||
| "ms-azuretools.vscode-azurefunctions", | ||
| "ms-azuretools.vscode-bicep", | ||
| "ms-azuretools.vscode-docker", | ||
| "ms-vscode.js-debug", | ||
| "ms-vscode.vscode-node-azure-pack" | ||
| ] | ||
| } | ||
| }, | ||
| "forwardPorts": [ | ||
| 3000, | ||
| 3100 | ||
| ], | ||
| "postCreateCommand": "", | ||
| "remoteUser": "node", | ||
| "hostRequirements": { | ||
| "memory": "8gb" | ||
| } | ||
| } |
10 changes: 3 additions & 7 deletions
10
templates/common/.devcontainer/devcontainer.json/nodejs/terraform/devcontainer.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 3 additions & 7 deletions
10
templates/common/.devcontainer/devcontainer.json/python/devcontainer.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
40 changes: 40 additions & 0 deletions
40
templates/common/.devcontainer/devcontainer.json/python/func/devcontainer.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,40 @@ | ||
| { | ||
| "name": "Azure Developer CLI", | ||
| "build": { | ||
| "dockerfile": "Dockerfile", | ||
| "args": { | ||
| "IMAGE": "python:3.10-bullseye" | ||
| } | ||
| }, | ||
| "features": { | ||
| "ghcr.io/devcontainers/features/docker-in-docker:2": { | ||
| }, | ||
| "ghcr.io/devcontainers/features/node:1": { | ||
| "version": "16", | ||
| "nodeGypDependencies": false | ||
| }, | ||
| "ghcr.io/azure/azure-dev/azd:latest": {} | ||
| }, | ||
| "customizations": { | ||
| "vscode": { | ||
| "extensions": [ | ||
| "GitHub.vscode-github-actions", | ||
| "ms-azuretools.azure-dev", | ||
| "ms-azuretools.vscode-azurefunctions", | ||
| "ms-azuretools.vscode-bicep", | ||
| "ms-azuretools.vscode-docker", | ||
| "ms-python.python", | ||
| "ms-vscode.vscode-node-azure-pack" | ||
| ] | ||
| } | ||
| }, | ||
| "forwardPorts": [ | ||
| 3000, | ||
| 3100 | ||
| ], | ||
| "postCreateCommand": "", | ||
| "remoteUser": "vscode", | ||
| "hostRequirements": { | ||
| "memory": "8gb" | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.