Skip to content

Instantly share code, notes, and snippets.

@agusrichard
Created December 5, 2021 08:45
Show Gist options
  • Save agusrichard/067e021f0ced98fed3b7d03ce3c900f3 to your computer and use it in GitHub Desktop.
Save agusrichard/067e021f0ced98fed3b7d03ce3c900f3 to your computer and use it in GitHub Desktop.
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
// https://github.com/microsoft/vscode-dev-containers/tree/v0.205.2/containers/javascript-node
{
"name": "Node.js",
"build": {
"dockerfile": "Dockerfile",
// Update 'VARIANT' to pick a Node version: 16, 14, 12.
// Append -bullseye or -buster to pin to an OS version.
// Use -bullseye variants on local arm64/Apple Silicon.
"args": { "VARIANT": "14" }
},
// Set *default* container specific settings.json values on container create.
"settings": {
"terminal.integrated.shell.linux": "/bin/zsh",
"workbench.colorTheme": "Winter is Coming (Dark Black)"
},
// Add the IDs of extensions you want installed when the container is created.
"extensions": [
"dbaeumer.vscode-eslint",
"naumovs.color-highlight",
"donjayamanne.githistory",
"eamodio.gitlens",
"ritwickdey.liveserver",
"ms-vsliveshare.vsliveshare",
"esbenp.prettier-vscode",
"visualstudioexptteam.vscodeintellicode",
"pkief.material-icon-theme",
"johnpapa.winteriscoming"
],
// 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": "yarn install",
// Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
// "remoteUser": "node",
"features": {
"git": "latest",
"github-cli": "latest"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment