Skip to content

Commit

Permalink
devx: increase minimum machine requirement for devcontainer
Browse files Browse the repository at this point in the history
  • Loading branch information
InNoobWeTrust committed Jan 13, 2025
1 parent f95a352 commit 4b3cc5b
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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"
}

0 comments on commit 4b3cc5b

Please sign in to comment.