Skip to content

Commit cd5a379

Browse files
Merge pull request #4 from jamesmontemagno/main
Update container
2 parents 5e4f1fa + 8c94f53 commit cd5a379

File tree

3 files changed

+7
-1842
lines changed

3 files changed

+7
-1842
lines changed

.devcontainer/Dockerfile

-13
This file was deleted.

.devcontainer/devcontainer.json

+7-20
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,12 @@
11
{
22
"name": "eShopLite",
3-
"build": {
4-
"dockerfile": "Dockerfile",
5-
"args": {
6-
"IMAGE": "dotnet:8.0"
7-
}
8-
},
3+
"image": "mcr.microsoft.com/devcontainers/dotnet",
94
"features": {
10-
"ghcr.io/devcontainers/features/docker-from-docker:1": {
11-
"version": "20.10"
12-
},
13-
"ghcr.io/devcontainers/features/github-cli:1": {
14-
"version": "2"
15-
},
16-
"ghcr.io/devcontainers/features/kubectl-helm-minikube:1": {},
17-
"azure-cli": "2.53.0"
5+
"ghcr.io/devcontainers/features/dotnet:2": { "version": "8.0"},
6+
"ghcr.io/devcontainers/features/kubectl-helm-minikube:1": {},
7+
"ghcr.io/devcontainers/features/azure-cli:1": {},
8+
"ghcr.io/devcontainers/features/docker-from-docker:1.3.1": {},
9+
"ghcr.io/devcontainers/features/github-cli:1": { "version": "2" }
1810
},
1911
"customizations": {
2012
"vscode": {
@@ -31,18 +23,13 @@
3123
32000,
3224
32001
3325
],
34-
"onCreateCommand": "bash ${containerWorkspaceFolder}/.devcontainer/library-scripts/dotnet-install.sh --channel 8.0 -quality preview -installdir ${containerWorkspaceFolder}/.dotnet",
3526
"postCreateCommand": "dotnet restore",
3627
"remoteUser": "vscode",
3728
"hostRequirements": {
3829
"memory": "16gb",
3930
"cpus": 4
4031
},
41-
"remoteEnv": {
42-
"PATH": "${containerWorkspaceFolder}/.dotnet:${containerEnv:PATH}",
43-
"DOTNET_MULTILEVEL_LOOKUP": "0",
44-
"TARGET": "net8.0"
45-
},
32+
4633
"portsAttributes": {
4734
"32001": {
4835
"label": "Back End"

0 commit comments

Comments
 (0)