Devcontainer setup?
#42696
-
I'd like to use https://devcontainers.github.io/ for development. Is there a feature available to setup quarkus or a sample devcontainer.json ? |
Beta Was this translation helpful? Give feedback.
Answered by
Stwissel
Oct 31, 2024
Replies: 1 comment
-
I started to document it here: https://www.wissel.net/blog/2024/08/quarkus-in-multimodule-projects.html {
"name": "Quarkus, Couch, Valkey",
"dockerComposeFile": "docker-compose.yml",
"service": "app",
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",
"features": {
"ghcr.io/devcontainers/features/common-utils:2": {},
"ghcr.io/devcontainers/features/github-cli:1": {},
"ghcr.io/devcontainers/features/sshd:1": {},
"ghcr.io/devcontainers/features/java:1": {
"installMaven": "true",
"installGradle": "false"
},
"ghcr.io/ebaskoro/devcontainer-features/sdkman:1": {
"candidate" : "quarkus"
}
},
"postCreateCommand": "mvn clean",
"customizations": {
"vscode": {
"extensions": [
"esbenp.prettier-vscode",
"msjsdiag.debugger-for-chrome",
"oderwat.indent-rainbow",
"visualstudioexptteam.vscodeintellicode",
"ritwickdey.liveserver",
"shengchen.vscode-checkstyle",
"dhruv.maven-dependency-explorer",
"JoseVSeb.google-java-format-for-vs-code",
"ms-azuretools.vscode-docker",
"redhat.fabric8-analytics",
"redhat.java",
"redhat.vscode-microprofile",
"redhat.vscode-quarkus",
"redhat.vscode-xml",
"visualstudioexptteam.vscodeintellicode",
"vscjava.vscode-java-debug",
"vscjava.vscode-java-dependency",
"vscjava.vscode-java-pack",
"vscjava.vscode-java-test",
"vscjava.vscode-maven"
]
}
},
"forwardPorts": [
4444,
5069
]
} The
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Stwissel
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I started to document it here: https://www.wissel.net/blog/2024/08/quarkus-in-multimodule-projects.html
It covers basic setup with maven, profiles and VSCode setup. The missing part is the devcontainer.json file. This worked for me: