Chore : add devcontainer configuration

This commit is contained in:
Nathan Tien You
2024-09-18 07:36:15 +00:00
parent 8cf81da2c6
commit 758f288e4b
+41
View File
@@ -0,0 +1,41 @@
// 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": {
"ghcr.io/devcontainers/features/docker-in-docker:2": {},
"ghcr.io/devcontainers/features/git:1": {},
"ghcr.io/devcontainers/features/node:1": {}
},
"portsAttributes": {
"1948": {
"label": "reveal.md"
},
"35729": {
"label": "reveal.md"
}
},
"customizations": {
"vscode": {
"settings": {
"workbench.colorCustomizations": {
"statusBar.background": "#54874399",
"statusBar.noFolderBackground": "#54874352",
"statusBar.debuggingBackground": "#78e355"
}
}
}
}
// 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"
}