From 4b3cc5bce1ece502e03dc60d59a810afd06f38f0 Mon Sep 17 00:00:00 2001 From: "Vu D. Truong (InNoobWeTrust)" Date: Tue, 14 Jan 2025 03:10:59 +0700 Subject: [PATCH] devx: increase minimum machine requirement for devcontainer --- .devcontainer/devcontainer.json | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 6486dab9c..542ba8cb6 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,6 +1,11 @@ // For format details, see https://aka.ms/devcontainer.json. For config options, see the // README at: https://github.com/devcontainers/templates/tree/main/src/cpp { + "hostRequirements": { + "cpus": 4, + "memory": "16gb", + "storage": "32gb" + }, "name": "C++", "build": { "dockerfile": "Dockerfile" @@ -9,22 +14,16 @@ "ghcr.io/stuartleeks/dev-container-features/shell-history:0": {}, "ghcr.io/sebst/devcontainer-features/pkgx:1": {} }, - // Features to add to the dev container. More info: https://containers.dev/features. // "features": {}, - // Use 'forwardPorts' to make a list of ports inside the container available locally. // "forwardPorts": [], - // Use 'postCreateCommand' to run commands after the container is created. "postCreateCommand": "git submodule update --init", - // Use 'postAttachCommand' to run commands after the container is attached. "postAttachCommand": "pkgx install npx && npx -y runme run --filename README.md -t devcontainer -y" - // Configure tool-specific properties. // "customizations": {}, - // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root. // "remoteUser": "root" }