File tree Expand file tree Collapse file tree 1 file changed +25
-11
lines changed Expand file tree Collapse file tree 1 file changed +25
-11
lines changed Original file line number Diff line number Diff line change 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
13{
2- "name" : " my-project-devcontainer" ,
3- "image" : " mcr.microsoft.com/devcontainers/base:ubuntu" , // Any generic, debian-based image.
4- "features" : {
5- "ghcr.io/devcontainers/features/go:1" : {
6- "version" : " 1.18"
7- },
8- "ghcr.io/devcontainers/features/docker-in-docker:1" : {
9- "version" : " latest" ,
10- "moby" : true
11- }
12- }
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:0-17" ,
7+
8+ "features" : {
9+ "ghcr.io/devcontainers/features/java:1" : {
10+ "version" : " none" ,
11+ "installMaven" : " true" ,
12+ "installGradle" : " false"
13+ }
14+ }
15+
16+ // Use 'forwardPorts' to make a list of ports inside the container available locally.
17+ // "forwardPorts": [],
18+
19+ // Use 'postCreateCommand' to run commands after the container is created.
20+ // "postCreateCommand": "java -version",
21+
22+ // Configure tool-specific properties.
23+ // "customizations": {},
24+
25+ // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
26+ // "remoteUser": "root"
1327}
You can’t perform that action at this time.
0 commit comments