diff --git a/.devcontainer/server/devcontainer.json b/.devcontainer/server/devcontainer.json index 465c101..b6824b2 100644 --- a/.devcontainer/server/devcontainer.json +++ b/.devcontainer/server/devcontainer.json @@ -7,11 +7,16 @@ }, "ghcr.io/devcontainers/features/git:1": {} }, + "containerEnv": { + "GIT_REPO_URL": "https://scm.vilanet.fr/kriss/slot" + }, "customizations": { "jetbrains": { "backend": "IntelliJ" } }, "forwardPorts": [8080], - "workspaceFolder": "/workspace" + "workspaceFolder": "/workspace", + "//": "workspaceMount: source=jb_devcontainer_sources_f31d2e11122d7a0f1e78fb3337cc2916,target=/workspace,type=volume", + "//": "postCreateCommand: if [ ! -d .git ]; then git clone $GIT_REPO_URL .; fi" }