-
Notifications
You must be signed in to change notification settings - Fork 647
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from MicrosoftDocs/base-code
Base code
- Loading branch information
Showing
283 changed files
with
24,710 additions
and
31 deletions.
There are no files selected for viewing
This file contains 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,13 @@ | ||
ARG VARIANT=bullseye | ||
ARG VERSION=3.10 | ||
FROM --platform=amd64 mcr.microsoft.com/devcontainers/python:${VERSION}-${VARIANT} | ||
|
||
# Copy the setup scripts | ||
COPY library-scripts/*.sh /tmp/library-scripts/ | ||
|
||
RUN export DEBIAN_FRONTEND=noninteractive \ | ||
&& apt-get update \ | ||
&& apt-get install -y xdg-utils \ | ||
&& curl -fsSL https://aka.ms/install-azd.sh | bash \ | ||
&& apt-get clean -y \ | ||
&& rm -rf /var/lib/apt/lists/* |
This file contains 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,56 @@ | ||
{ | ||
"name": "eShopLite", | ||
"build": { | ||
"dockerfile": "Dockerfile", | ||
"args": { | ||
"IMAGE": "dotnet:8.0" | ||
} | ||
}, | ||
"features": { | ||
"ghcr.io/devcontainers/features/docker-from-docker:1": { | ||
"version": "20.10" | ||
}, | ||
"ghcr.io/devcontainers/features/github-cli:1": { | ||
"version": "2" | ||
}, | ||
"ghcr.io/devcontainers/features/kubectl-helm-minikube:1": {}, | ||
"azure-cli": "2.53.0" | ||
}, | ||
"customizations": { | ||
"vscode": { | ||
"extensions": [ | ||
"ms-vscode.vscode-node-azure-pack", | ||
"github.vscode-github-actions", | ||
"GitHub.copilot-nightly", | ||
"GitHub.vscode-github-actions", | ||
"ms-dotnettools.vscode-dotnet-runtime", | ||
"ms-dotnettools.csdevkit", | ||
"ms-dotnetools.csharp" | ||
] | ||
} | ||
}, | ||
"forwardPorts": [ | ||
32000, | ||
32001 | ||
], | ||
"onCreateCommand": "bash ${containerWorkspaceFolder}/.devcontainer/library-scripts/dotnet-install.sh --channel 8.0 -quality preview -installdir ${containerWorkspaceFolder}/.dotnet", | ||
"postCreateCommand": "dotnet restore", | ||
"remoteUser": "vscode", | ||
"hostRequirements": { | ||
"memory": "16gb", | ||
"cpus": 4 | ||
}, | ||
"remoteEnv": { | ||
"PATH": "${containerWorkspaceFolder}/.dotnet:${containerEnv:PATH}", | ||
"DOTNET_MULTILEVEL_LOOKUP": "0", | ||
"TARGET": "net8.0" | ||
}, | ||
"portsAttributes": { | ||
"32001": { | ||
"label": "Back End" | ||
}, | ||
"32000": { | ||
"label": "Front End" | ||
} | ||
} | ||
} |
Oops, something went wrong.