Skip to content

Commit 2ec0e90

Browse files
Merge pull request #915 from vorburger:github_codespace_java17
PiperOrigin-RevId: 877840839
2 parents d10109a + b6ebfc5 commit 2ec0e90

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.devcontainer/devcontainer.json

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"name": "Java 17",
3+
"image": "mcr.microsoft.com/devcontainers/java:1-17-bullseye",
4+
"features": {
5+
"ghcr.io/devcontainers/features/github-cli:1": {},
6+
"ghcr.io/devcontainers/features/git-lfs:1": {}
7+
},
8+
"customizations": {
9+
"vscode": {
10+
"extensions": [
11+
"extension-pack-for-java",
12+
"redhat.vscode-xml",
13+
"rangav.vscode-thunder-client"
14+
],
15+
"settings": {
16+
"java.jdt.download.server": "latest",
17+
"java.help.firstView": "none",
18+
"java.showBuildStatusOnStart": "notification",
19+
"java.configuration.updateBuildConfiguration": "interactive",
20+
"java.autobuild.enabled": true,
21+
"terminal.integrated.focusOnOutput": false
22+
}
23+
}
24+
},
25+
"remoteUser": "vscode",
26+
"forwardPorts": [8000, 8080, 8081, 8082],
27+
"postCreateCommand": "git config --global credential.helper '!gh auth git-credential' && git config --global lfs.locksverify false"
28+
}

0 commit comments

Comments
 (0)