Skip to content

Commit 0c450cc

Browse files
committed
Test Java copyFrom - added JDK 17 to container v2
1 parent 3e138d5 commit 0c450cc

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.devcontainer/devcontainer.json

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"name": "Java",
3+
"image": "mcr.microsoft.com/devcontainers/java:17-buster",
4+
"features": {
5+
"ghcr.io/devcontainers/features/java:1": {
6+
"version": "none",
7+
"installMaven": "true",
8+
"installGradle": "false"
9+
}
10+
}
11+
12+
// Use 'forwardPorts' to make a list of ports inside the container available locally.
13+
// "forwardPorts": [],
14+
15+
// Use 'postCreateCommand' to run commands after the container is created.
16+
// "postCreateCommand": "java -version",
17+
18+
// Configure tool-specific properties.
19+
// "customizations": {},
20+
21+
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
22+
// "remoteUser": "root"
23+
}

0 commit comments

Comments
 (0)