Skip to content

Commit 49df4ce

Browse files
authored
Update Java devcontainer configuration
1 parent a192733 commit 49df4ce

1 file changed

Lines changed: 2 additions & 17 deletions

File tree

.devcontainer/.devcontainer.json

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -10,30 +10,15 @@
1010
"installMaven": true,
1111
"version": "17",
1212
"jdkDistro": "ms",
13-
"gradleVersion": "latest",
14-
"mavenVersion": "latest",
15-
"antVersion": "latest",
16-
"groovyVersion": "latest"
17-
},
18-
"ghcr.io/ebaskoro/devcontainer-features/sdkman:1": {
19-
"candidate": "java",
20-
"version": "latest"
21-
},
22-
"ghcr.io/devcontainers/features/docker-in-docker:2": {
23-
"moby": true,
24-
"azureDnsAutoDetection": true,
25-
"installDockerBuildx": true,
26-
"installDockerComposeSwitch": true,
27-
"version": "latest",
28-
"dockerDashComposeVersion": "none"
13+
"mavenVersion": "latest"
2914
}
3015
},
3116

3217
// Use 'forwardPorts' to make a list of ports inside the container available locally.
3318
// "forwardPorts": [],
3419

3520
// Use 'postCreateCommand' to run commands after the container is created.
36-
// "postCreateCommand": "java -version",
21+
// "postCreateCommand": "java -version && mvn -v",
3722

3823
// Configure tool-specific properties.
3924
"customizations": {

0 commit comments

Comments
 (0)