diff options
| author | 2024-05-02 14:20:54 +0300 | |
|---|---|---|
| committer | 2024-05-02 12:20:54 +0100 | |
| commit | 7672002109b5856fc1b43df292bca4836fdb99d5 (patch) | |
| tree | db61c0ab0503744cdccef0d1fdd8cd5e35d24101 /.devcontainer/devcontainer.json | |
| parent | 6ddb67dc5621c9aa97ff8a1c7188add77ef3304f (diff) | |
| download | my-keymaps-7672002109b5856fc1b43df292bca4836fdb99d5.tar.gz my-keymaps-7672002109b5856fc1b43df292bca4836fdb99d5.zip | |
use containerWorkspaceFolder var and pass it to setup.sh (#12)
- folder name inside dev container is same as folder name on host
so if it differs from qmk_userspace then setup.sh cannot be found
and it sets incorrect user.overlay_dir
- docs https://containers.dev/implementors/json_reference/
Diffstat (limited to '.devcontainer/devcontainer.json')
| -rw-r--r-- | .devcontainer/devcontainer.json | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 2b7b817..7aaee1f 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -17,7 +17,7 @@ ] } }, - "postCreateCommand": "/workspaces/qmk_userspace/.devcontainer/setup.sh" + "postCreateCommand": "${containerWorkspaceFolder}/.devcontainer/setup.sh ${containerWorkspaceFolder}" // Features to add to the dev container. More info: https://containers.dev/features. // "features": {}, |
