Skip to content

Commit 7c5374c

Browse files
committed
chore: add Dev Container configuration
1 parent 6386114 commit 7c5374c

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

.devcontainer/devcontainer.json

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
2+
// README at: https://github.com/devcontainers/templates/tree/main/src/java
3+
{
4+
"name": "Java",
5+
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
6+
"image": "mcr.microsoft.com/devcontainers/java:1-21-bookworm",
7+
8+
"features": {
9+
"ghcr.io/devcontainers/features/java:1": {
10+
"version": "none",
11+
"installMaven": "false",
12+
"installGradle": "false"
13+
}
14+
},
15+
16+
// Configure tool-specific properties.
17+
"customizations": {
18+
// Configure properties specific to VS Code.
19+
"vscode": {
20+
// Add the IDs of extensions you want installed when the container is created.
21+
"extensions": [
22+
"esbenp.prettier-vscode",
23+
"vscjava.vscode-java-pack",
24+
"vmware.vscode-boot-dev-pack",
25+
"cweijan.vscode-mysql-client2",
26+
"GitHub.vscode-pull-request-github",
27+
"github.codespaces",
28+
"bierner.github-markdown-preview",
29+
"Postman.postman-for-vscode"
30+
]
31+
}
32+
},
33+
34+
"forwardPorts": [8080]
35+
}
36+

0 commit comments

Comments
 (0)