fix indent

This commit is contained in:
Wenjie Yu(MSFT)
2022-12-13 10:25:12 +08:00
committed by GitHub
parent eba96d82af
commit b4853e22d3

View File

@@ -1,61 +1,50 @@
// For format details, see https://aka.ms/vscode-remote/devcontainer.json or this file's README at: // For format details, see https://aka.ms/vscode-remote/devcontainer.json or this file's README at:
// https://github.com/microsoft/vscode-dev-containers/tree/v0.112.0/containers/dotnetcore-3.1 // https://github.com/microsoft/vscode-dev-containers/tree/v0.112.0/containers/dotnetcore-3.1
{ {
"name": "eShopOnWeb", "name": "eShopOnWeb",
"build": { "build": {
"dockerfile": "Dockerfile", "dockerfile": "Dockerfile",
"args": { "args": {
"USERNAME": "vscode", "USERNAME": "vscode",
"INSTALL_NODE": "false", "INSTALL_NODE": "false",
"NODE_VERSION": "lts/*", "NODE_VERSION": "lts/*",
"INSTALL_AZURE_CLI": "false", "INSTALL_AZURE_CLI": "false"
"INSTALL_AZURE_DEVELOPER_CLI": "true"
} }
}, },
"features": { "features": {
"ghcr.io/devcontainers/features/azure-cli:1": {
"version": "2.38"
},
"ghcr.io/devcontainers/features/docker-from-docker:1": { "ghcr.io/devcontainers/features/docker-from-docker:1": {
"version": "20.10" "version": "20.10"
}, },
"ghcr.io/devcontainers/features/dotnet:1": {
"version": "6.0"
},
"ghcr.io/devcontainers/features/github-cli:1": { "ghcr.io/devcontainers/features/github-cli:1": {
"version": "2" "version": "2"
},
"ghcr.io/devcontainers/features/node:1": {
"version": "16",
"nodeGypDependencies": false
} }
}, },
// Comment out to connect as root user. See https://aka.ms/vscode-remote/containers/non-root. // Comment out to connect as root user. See https://aka.ms/vscode-remote/containers/non-root.
// make sure this is the same as USERNAME above // make sure this is the same as USERNAME above
"remoteUser": "vscode", "remoteUser": "vscode",
// Set *default* container specific settings.json values on container create. // Set *default* container specific settings.json values on container create.
"settings": { "settings": {
"terminal.integrated.shell.linux": "/bin/bash" "terminal.integrated.shell.linux": "/bin/bash"
}, },
// Add the IDs of extensions you want installed when the container is created. // Add the IDs of extensions you want installed when the container is created.
"extensions": [ "extensions": [
"ms-azuretools.azure-dev", "ms-azuretools.azure-dev",
"ms-dotnettools.csharp", "ms-dotnettools.csharp",
"formulahendry.dotnet-test-explorer", "formulahendry.dotnet-test-explorer",
"ms-vscode.vscode-node-azure-pack", "ms-vscode.vscode-node-azure-pack",
"ms-kubernetes-tools.vscode-kubernetes-tools", "ms-kubernetes-tools.vscode-kubernetes-tools",
"redhat.vscode-yaml" "redhat.vscode-yaml"
], ],
// Use 'forwardPorts' to make a list of ports inside the container available locally. // Use 'forwardPorts' to make a list of ports inside the container available locally.
"forwardPorts": [5000, 5001], "forwardPorts": [5000, 5001],
// [Optional] To reuse of your local HTTPS dev cert, first export it locally using this command: // [Optional] To reuse of your local HTTPS dev cert, first export it locally using this command:
// * Windows PowerShell: // * Windows PowerShell:
// dotnet dev-certs https --trust; dotnet dev-certs https -ep "$env:USERPROFILE/.aspnet/https/aspnetapp.pfx" -p "SecurePwdGoesHere" // dotnet dev-certs https --trust; dotnet dev-certs https -ep "$env:USERPROFILE/.aspnet/https/aspnetapp.pfx" -p "SecurePwdGoesHere"
// * macOS/Linux terminal: // * macOS/Linux terminal:
// dotnet dev-certs https --trust; dotnet dev-certs https -ep "${HOME}/.aspnet/https/aspnetapp.pfx" -p "SecurePwdGoesHere" // dotnet dev-certs https --trust; dotnet dev-certs https -ep "${HOME}/.aspnet/https/aspnetapp.pfx" -p "SecurePwdGoesHere"
// //