Skip to content

Commit 67b3f81

Browse files
Copilottrask
andcommitted
Address PR feedback: remove README.md and validate script, simplify devcontainer.json
Co-authored-by: trask <[email protected]>
1 parent 52b5775 commit 67b3f81

File tree

3 files changed

+4
-62
lines changed

3 files changed

+4
-62
lines changed

.devcontainer/README.md

Lines changed: 0 additions & 27 deletions
This file was deleted.

.devcontainer/devcontainer.json

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
{
22
"name": "Application Insights Java Development Environment",
3-
"image": "mcr.microsoft.com/vscode/devcontainers/java:17-bullseye",
3+
"image": "mcr.microsoft.com/vscode/devcontainers/base:bullseye",
44
"features": {
55
"ghcr.io/devcontainers/features/java:1": {
6-
"version": "17",
7-
"jdkDistro": "tem"
6+
"version": "17"
87
},
98
"ghcr.io/devcontainers/features/docker-in-docker:2": {
109
"version": "latest"
@@ -19,11 +18,9 @@
1918
]
2019
}
2120
},
22-
2321
"mounts": [
2422
"source=gradle-cache,target=/home/vscode/.gradle,type=volume"
2523
],
26-
"postCreateCommand": "bash .devcontainer/setup-devcontainer.sh",
27-
"remoteUser": "vscode",
28-
"// comment": "This devcontainer pre-installs Java 17 and Docker-in-Docker. The remoteUser sets the default user for the container. The setup script builds the project to pre-download dependencies and populate the build cache, reducing initial build time for Copilot agents from 5+ minutes to under 1 minute"
24+
"postCreateCommand": ".devcontainer/setup-devcontainer.sh",
25+
"remoteUser": "vscode"
2926
}

.devcontainer/validate-devcontainer.sh

Lines changed: 0 additions & 28 deletions
This file was deleted.

0 commit comments

Comments
 (0)