Skip to content

Commit

Permalink
Initial commit2
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesmontemagno committed Nov 3, 2023
1 parent 93c59f5 commit e61bddf
Show file tree
Hide file tree
Showing 282 changed files with 24,695 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .devcontainer/dotnet-deploy/Dockerfile
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/*
56 changes: 56 additions & 0 deletions .devcontainer/dotnet-deploy/devcontainer.json
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"
}
}
}
Loading

0 comments on commit e61bddf

Please sign in to comment.