-
Notifications
You must be signed in to change notification settings - Fork 138
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
devx: increase minimum machine requirement for devcontainer
- Loading branch information
1 parent
f95a352
commit 6066286
Showing
1 changed file
with
12 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,35 @@ | ||
// 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": "8gb", | ||
"storage": "32gb" | ||
}, | ||
"name": "C++", | ||
"build": { | ||
"dockerfile": "Dockerfile" | ||
}, | ||
"features": { | ||
"ghcr.io/stuartleeks/dev-container-features/shell-history:0": {}, | ||
"ghcr.io/sebst/devcontainer-features/pkgx:1": {} | ||
"ghcr.io/sebst/devcontainer-features/pkgx:1": {}, | ||
"ghcr.io/devcontainers-extra/features/apt-packages:1": { | ||
"clean_ppas": true, | ||
"preserve_apt_list": true, | ||
"packages": "build-essential linux-libc-dev", | ||
"ppas": "ppa:deadsnakes/ppa" | ||
} | ||
}, | ||
|
||
// 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" | ||
} |