Skip to content

Commit 916234e

Browse files
authored
Update devcontainer settings
1 parent 6ac1ae3 commit 916234e

2 files changed

Lines changed: 2 additions & 29 deletions

File tree

.devcontainer/devcontainer.json

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,25 +4,18 @@
44
"image": "mcr.microsoft.com/devcontainers/dotnet:8.0-noble",
55

66
"features": {
7-
"ghcr.io/azure/azure-dev/azd:latest": {},
87
"ghcr.io/devcontainers/features/common-utils:latest": {},
98
"ghcr.io/devcontainers/features/dotnet:latest": {
109
"version": "9.0"
1110
},
12-
"ghcr.io/devcontainers/features/azure-cli:latest": {
13-
"extensions": "account,containerapp,deploy-to-azure,subscription"
14-
},
1511
"ghcr.io/devcontainers/features/docker-in-docker:latest": {},
16-
"ghcr.io/devcontainers/features/github-cli:latest": {},
1712
"ghcr.io/devcontainers/features/java:latest": {
1813
"installGradle": true,
1914
"installMaven": true,
2015
"version": "21"
2116
},
22-
"ghcr.io/devcontainers/features/kubectl-helm-minikube:latest": {},
2317
"ghcr.io/devcontainers/features/node:latest": {},
24-
"ghcr.io/devcontainers/features/python:latest": {},
25-
"ghcr.io/prom3theu5/aspirational-manifests/aspirate:latest": {}
18+
"ghcr.io/devcontainers/features/python:latest": {}
2619
},
2720

2821
"overrideFeatureInstallOrder": [
@@ -38,8 +31,6 @@
3831
"GitHub.copilot-chat",
3932
"GitHub.vscode-github-actions",
4033
"GitHub.vscode-pull-request-github",
41-
"ms-azuretools.azure-dev",
42-
"ms-azuretools.vscode-bicep",
4334
"ms-azuretools.vscode-docker",
4435
"ms-dotnettools.csharp",
4536
"ms-dotnettools.csdevkit",
@@ -63,6 +54,6 @@
6354
"onCreateCommand": "./.devcontainer/on-create.sh > ~/on-create.log",
6455

6556
"hostRequirements": {
66-
"memory": "16gb"
57+
"memory": "8gb"
6758
}
6859
}

.devcontainer/on-create.sh

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -8,25 +8,7 @@ echo Configure git
88
git config --global pull.rebase false
99
git config --global core.autocrlf input
1010

11-
echo Update .NET workloads
12-
dotnet workload update --from-previous-sdk
13-
1411
echo Install .NET dev certs
1512
dotnet dev-certs https --trust
1613

17-
echo Install Aspire 9 templates
18-
dotnet new install Aspire.ProjectTemplates
19-
20-
echo Install Azure Bicep CLI
21-
az bicep install
22-
23-
echo Install Spring Boot CLI
24-
wget -P ~/ https://repo.maven.apache.org/maven2/org/springframework/boot/spring-boot-cli/3.4.4/spring-boot-cli-3.4.4-bin.zip
25-
unzip -o ~/spring-boot-cli-3.4.4-bin.zip -d ~/.spring
26-
mkdir -p ~/.spring/current
27-
cp -r ~/.spring/spring-3.4.4/* ~/.spring/current/
28-
29-
echo 'export PATH="$PATH:$HOME/.spring/current/bin"' >> ~/.bashrc
30-
# source ~/.bashrc
31-
3214
echo Done!

0 commit comments

Comments
 (0)