Skip to content

Commit d50adc8

Browse files
authored
[Optional] Updating Dev Container configuration for consistent MicroProfile tutorial dev environment setup (#61)
* Update Java devcontainer configuration * Update devcontainer.json * Delete .devcontainer/.devcontainer.json
1 parent e83574a commit d50adc8

2 files changed

Lines changed: 27 additions & 55 deletions

File tree

.devcontainer/.devcontainer.json

Lines changed: 0 additions & 51 deletions
This file was deleted.

.devcontainer/devcontainer.json

Lines changed: 27 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,40 @@
11
{
2+
"name": "MicroProfile Tutorial",
23
"image": "mcr.microsoft.com/devcontainers/universal:2",
4+
35
"features": {
4-
"ghcr.io/devcontainers-extra/features/node-asdf:0": {}
6+
"ghcr.io/devcontainers/features/node:1": {
7+
"version": "20"
8+
},
9+
"ghcr.io/devcontainers/features/java:1": {
10+
"version": "21",
11+
"installMaven": "true",
12+
"mavenVersion": "3.9"
13+
},
14+
"ghcr.io/devcontainers/features/ruby:1": {
15+
"version": "3.2"
16+
},
17+
"ghcr.io/devcontainers/features/python:1": {
18+
"version": "3.11"
19+
}
520
},
21+
622
"customizations": {
723
"vscode": {
824
"extensions": [
925
"GitHub.copilot",
1026
"asciidoctor.asciidoctor-vscode",
27+
"matt-rudge.auto-open-preview-panel",
1128
"microprofile-community.vscode-microprofile-pack",
1229
"vscjava.vscode-java-pack",
30+
"vscjava.vscode-maven",
1331
"Open-Liberty.liberty-tools-vscode"
14-
]
32+
],
33+
"settings": {
34+
"terminal.integrated.defaultProfile.linux": "bash"
35+
}
1536
}
16-
}
17-
}
37+
},
38+
39+
"postCreateCommand": "npm install && gem install asciidoctor-pdf"
40+
}

0 commit comments

Comments
 (0)