-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Dev Container configuration (#271)
* Add Dev Container configuration * Remove the postCreateCommand * Add configuration tips for VS Code in Dev Container
- Loading branch information
Showing
2 changed files
with
35 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{ | ||
"name": "Spring Petclinic Microservices", | ||
// Java Development Container Images https://mcr.microsoft.com/en-us/product/devcontainers/java/tags | ||
"image": "mcr.microsoft.com/devcontainers/java:17-bullseye", | ||
// Features list https://containers.dev/features | ||
"features": { | ||
"ghcr.io/devcontainers/features/java:1": { | ||
"installMaven": "true", | ||
"installGradle": "false" | ||
}, | ||
"ghcr.io/devcontainers/features/azure-cli:1":{}, // Install Azure CLI | ||
"ghcr.io/devcontainers/features/docker-in-docker:2":{}, // install docker | ||
}, | ||
"customizations": { | ||
// Configure properties specific to VScode | ||
"vscode": { | ||
"settings": { | ||
// VSCode settings https://github.com/redhat-developer/vscode-java/blob/master/README.md | ||
"java.server.launchMode": "Standard" | ||
}, | ||
"extensions":[ | ||
"vscjava.vscode-java-pack", | ||
"vscjava.vscode-maven", | ||
"github.vscode-github-actions", | ||
"github.vscode-pull-request-github", | ||
"redhat.vscode-xml", | ||
"vmware.vscode-boot-dev-pack", | ||
"mhutchie.git-graph" | ||
] | ||
}, | ||
}, | ||
"forwardPorts": [8080, 8888, 8761] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters