From 0c4e9db3f60c114e28b9882d07bcff9e3897e21a Mon Sep 17 00:00:00 2001 From: Christian Kagerer Date: Fri, 8 Dec 2023 18:14:47 +0100 Subject: [PATCH] build: update .devcontainer.json --- .devcontainer.json | 39 +++++++++++++++------------------------ 1 file changed, 15 insertions(+), 24 deletions(-) diff --git a/.devcontainer.json b/.devcontainer.json index 70f0b9f..35c98c5 100644 --- a/.devcontainer.json +++ b/.devcontainer.json @@ -1,26 +1,17 @@ { - "image": "mcr.microsoft.com/devcontainers/javascript-node:0-18", - "customizations": { - "vscode": { - "settings": { - "json.schemas": [ - { - "fileMatch": [ - "*/devcontainer-feature.json" - ], - "url": "https://raw.githubusercontent.com/devcontainers/spec/main/schemas/devContainerFeature.schema.json" - } - ] - }, - "extensions": [ - "mads-hartmann.bash-ide-vscode" - ] - } - }, - "features": { - "ghcr.io/devcontainers/features/docker-in-docker:2": {}, - "ghcr.io/devcontainers/features/common-utils:2": {} - }, - "remoteUser": "node", - "updateContentCommand": "npm install -g @devcontainers/cli" + "image": "mcr.microsoft.com/devcontainers/javascript-node:1-18", + "features": { + "ghcr.io/devcontainers/features/docker-in-docker:2": {} + }, + "postCreateCommand": "npm install -g @devcontainers/cli", + "hostRequirements": { + "cpus": 4 + }, + "customizations": { + "vscode": { + "extensions": [ + "mads-hartmann.bash-ide-vscode" + ] + } + } }