Skip to content

Commit

Permalink
fix: disable global cache instead of hardcoding it
Browse files Browse the repository at this point in the history
  • Loading branch information
alexschneider committed Jul 23, 2024
1 parent 0ac4b88 commit d5770d6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -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": [
Expand Down

0 comments on commit d5770d6

Please sign in to comment.