From 7ff571f1ad54b6fe245969094707cfc7aa0e040f Mon Sep 17 00:00:00 2001 From: Arturo Guridi Date: Tue, 1 Sep 2026 11:58:26 +0000 Subject: [PATCH] chore: Updates to devcontainer --- .devcontainer/devcontainer.json | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 801b750..0bf1063 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,14 +1,21 @@ { "name": "Node.js & TypeScript", - "image": "mcr.microsoft.com/devcontainers/typescript-node:16-bullseye", + "image": "mcr.microsoft.com/devcontainers/typescript-node:24-bullseye", // Features to add to the dev container. More info: https://containers.dev/implementors/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": "npm install" + "postCreateCommand": "npm install", // Configure tool-specific properties. // "customizations": {}, // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root. // "remoteUser": "root" + "mounts": [ + // Mount Git configuration (read-only) + "source=${localEnv:HOME}/.gitconfig,target=/home/node/.gitconfig,type=bind,readonly", + // Mount SSH keys for Git operations (read-only) + "source=${localEnv:HOME}/.ssh,target=/home/node/.ssh,type=bind,readonly" + ], + }