Improve caching

This commit is contained in:
Chuck
2022-03-16 18:07:02 +00:00
parent da52702687
commit dea80fe6f1
8 changed files with 37 additions and 32 deletions

View File

@@ -4,7 +4,7 @@
// Image contents: https://github.com/microsoft/vscode-dev-containers/blob/master/repository-containers/images/github.com/microsoft/vscode/.devcontainer/base.Dockerfile
"image": "mcr.microsoft.com/vscode/devcontainers/repos/microsoft/vscode:branch-main",
"overrideCommand": false,
"runArgs": [ "--init", "--security-opt", "seccomp=unconfined", "--shm-size=1g"],
"runArgs": [ "--init", "--shm-size=1g"],
"settings": {
"resmon.show.battery": false,
@@ -30,7 +30,7 @@
],
// Optionally loads a cached yarn install for the repo
"postCreateCommand": ".devcontainer/cache/restore-diff.sh && sudo chown node:node /workspaces",
"postCreateCommand": ".devcontainer/cache/restore-diff.sh",
"remoteUser": "node",