Skip to content

Commit 95f9774

Browse files
Task: add devcontainers (#194)
1 parent 60e6fc4 commit 95f9774

File tree

3 files changed

+32
-0
lines changed

3 files changed

+32
-0
lines changed

.devcontainer/devcontainer.json

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"name": "Java 17",
3+
"image": "mcr.microsoft.com/devcontainers/java:17-bullseye",
4+
"features": {
5+
"ghcr.io/devcontainers/features/java:1": {
6+
"version": "17",
7+
"installMaven": "true",
8+
"installGradle": "false"
9+
},
10+
"ghcr.io/devcontainers/features/docker-in-docker:2": {}
11+
},
12+
"customizations": {
13+
"vscode": {
14+
"settings": {},
15+
"extensions": [
16+
"vscjava.vscode-java-pack",
17+
"github.vscode-github-actions",
18+
"github.vscode-pull-request-github"
19+
]
20+
},
21+
"codespaces": {
22+
"openFiles": [
23+
"README",
24+
"src/index.js"
25+
]
26+
}
27+
}
28+
}

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
.project
1111
.settings
1212
.classpath
13+
.factorypath
1314

1415
# NetBeans #
1516
############

.vscode/settings.json

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"java.compile.nullAnalysis.mode": "automatic"
3+
}

0 commit comments

Comments
 (0)