From 758f288e4b515ee7863d5216394845203215cebb Mon Sep 17 00:00:00 2001 From: Nathan Tien You Date: Wed, 18 Sep 2024 07:36:15 +0000 Subject: [PATCH] Chore : add devcontainer configuration --- .devcontainer/devcontainer.json | 41 +++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 .devcontainer/devcontainer.json diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 0000000..a96a9b4 --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -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" +} \ No newline at end of file