Files
slot/.devcontainer/server/devcontainer.json
2025-09-20 20:20:56 +02:00

23 lines
639 B
JSON

{
"name": "OpenJDK21-Slot",
"build": {
"dockerfile": "Dockerfile",
"options": [
"--secret", "id=nexus_login,src=/tmp/nexus_login",
"--secret", "id=nexus_pwd,src=/tmp/nexus_pwd"
]
},
"containerEnv": {
"GIT_REPO_URL": "https://scm.vilanet.fr/kriss/slot"
},
"customizations": {
"jetbrains": {
"backend": "IntelliJ"
}
},
"forwardPorts": [8080],
"workspaceFolder": "/workspace",
"//": "workspaceMount: source=jb_devcontainer_sources_f31d2e11122d7a0f1e78fb3337cc2916,target=/workspace,type=volume",
"//": "postCreateCommand: if [ ! -d .git ]; then git clone $GIT_REPO_URL .; fi"
}