File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Expand file tree Collapse file tree 1 file changed +28
-0
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
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
+ "installGradle" : " false" ,
12
+ "installMaven" : " true"
13
+ },
14
+ "ghcr.io/devcontainers/features/docker-outside-of-docker:1" : {}
15
+ }
16
+
17
+ // Use 'forwardPorts' to make a list of ports inside the container available locally.
18
+ // "forwardPorts": [],
19
+
20
+ // Use 'postCreateCommand' to run commands after the container is created.
21
+ // "postCreateCommand": "java -version",
22
+
23
+ // Configure tool-specific properties.
24
+ // "customizations": {},
25
+
26
+ // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
27
+ // "remoteUser": "root"
28
+ }
You can’t perform that action at this time.
0 commit comments