diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 67da863b2224..983a61861fa0 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,6 +1,11 @@ { "image": "mcr.microsoft.com/devcontainers/javascript-node:0-18", + "containerEnv": { + "YARN_ENABLE_GLOBAL_CACHE": "false", // Avoids cross-link issues due to different filesystems between /home and /workspaces + "COREPACK_ENABLE_DOWNLOAD_PROMPT": "0" // Avoids interactive prompt causing container creation to hang + }, + "updateContentCommand": "sudo corepack enable && yarn && yarn build", "customizations": { "vscode": { "extensions": [