Skip to content

Commit bda633d

Browse files
authored
Simplify and use codespaces built-in prebuild feature (#4358)
1 parent 4508843 commit bda633d

File tree

3 files changed

+16
-104
lines changed

3 files changed

+16
-104
lines changed

.devcontainer/Dockerfile

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

.devcontainer/devcontainer.json

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,25 @@
11
{
22
"name": "Application Insights Java Development Environment",
3-
"image": "ghcr.io/microsoft/applicationinsights-java/devcontainer:latest",
3+
"image": "mcr.microsoft.com/devcontainers/base:bullseye",
4+
"features": {
5+
"ghcr.io/devcontainers/features/java:1": {
6+
"version": "17",
7+
"jdkDistro": "ms"
8+
},
9+
"ghcr.io/devcontainers/features/docker-in-docker:2": {}
10+
},
11+
"updateContentCommand": "./gradlew classes --no-daemon",
412
"customizations": {
513
"vscode": {
614
"extensions": [
7-
"redhat.java",
8-
"ms-vscode.vscode-json"
15+
"vscjava.vscode-java-pack",
16+
"ms-vscode.vscode-json",
17+
"GitHub.copilot",
18+
"GitHub.copilot-chat"
919
]
20+
},
21+
"settings": {
22+
"java.server.launchMode": "LightWeight"
1023
}
1124
}
1225
}

.github/workflows/build-devcontainer.yml

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

0 commit comments

Comments
 (0)