11//  For format details, see https://aka.ms/devcontainer.json. For config options, see the
22//  README at: https://github.com/devcontainers/templates/tree/main/src/java
33{
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-       "ghcr.io/devcontainers-contrib/features/mysql-homebrew:1" : {}
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+   "features" : {
8+     "ghcr.io/devcontainers/features/java:1" : {
9+       "version" : " none"  ,
10+       "installMaven" : " false"  ,
11+       "installGradle" : " false" 
1512    },
16-   
17-     //  Configure tool-specific properties.
18-     "customizations" : {
19-       //  Configure properties specific to VS Code.
20-       "vscode" : {
21-         //  Add the IDs of extensions you want installed when the container is created.
22-         "extensions" : [
23-           " esbenp.prettier-vscode"  ,
24-           " vscjava.vscode-java-pack"  ,
25-           " vmware.vscode-boot-dev-pack"  ,
26-           " cweijan.vscode-mysql-client2"  ,
27-           " GitHub.vscode-pull-request-github"  ,
28-           " github.codespaces"  ,
29-           " bierner.github-markdown-preview"  ,
30-           " Postman.postman-for-vscode" 
31-         ]
32-       }
33-     },
34-   
35-     "forwardPorts" : [8080 ],
36- 
37-     "postStartCommand" : " mysql.server start" 
38-   }
39-   
13+     "ghcr.io/devcontainers-contrib/features/mysql-homebrew:1" : {}
14+   },
15+   //  Configure tool-specific properties.
16+   "customizations" : {
17+     //  Configure properties specific to VS Code.
18+     "vscode" : {
19+       //  Add the IDs of extensions you want installed when the container is created.
20+       "extensions" : [
21+         " esbenp.prettier-vscode"  ,
22+         " vscjava.vscode-java-pack"  ,
23+         " vmware.vscode-boot-dev-pack"  ,
24+         " cweijan.vscode-mysql-client2"  ,
25+         " GitHub.vscode-pull-request-github"  ,
26+         " github.codespaces"  ,
27+         " bierner.github-markdown-preview"  ,
28+         " Postman.postman-for-vscode" 
29+       ]
30+     }
31+   },
32+   "forwardPorts" : [8080 ],
33+   "postStartCommand" : " mysql.server start" 
34+ }
0 commit comments