Skip to content

Commit

Permalink
tool: update deccontainer
Browse files Browse the repository at this point in the history
Signed-off-by: Zone.NiuZH <[email protected]>
  • Loading branch information
MRNIU committed Dec 4, 2024
1 parent 1c3a10c commit a070171
Showing 1 changed file with 13 additions and 20 deletions.
33 changes: 13 additions & 20 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,22 +1,15 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/ubuntu
{
"name": "Ubuntu",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"image": "mcr.microsoft.com/devcontainers/base:jammy"

// 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": "uname -a",

// Configure tool-specific properties.
// "customizations": {},

// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "root"
"name": "SimpleKernel DevContainer",
"dockerFile": "../tools/Dockerfile",
"postCreateCommand": "bash -i -c 'pre-commit install'",
"customizations": {
"vscode": {
"extensions": [
"ms-vscode.cpptools",
"ms-vscode.cpptools-extension-pack",
"twxs.cmake",
"ms-vscode.cmake-tools"
]
}
}
}

0 comments on commit a070171

Please sign in to comment.