Unknownpgr

Dev container

2023-09-01 13:53:39 | English, Korean

This post was translated from Korean into English by AI.

Dev container is a tool that standardizes development environments, reducing the effort required to set them up. It is easy to use through a VSCode extension.

Below is the Dev container configuration file I like to use.

{
  "name": "my-dev-container",
  "image": "mcr.microsoft.com/devcontainers/typescript-node:16-bullseye",
  "features": {
    "ghcr.io/devcontainers/features/docker-in-docker:2": {}
  },
  "customizations": {
    "vscode": {
      "extensions": [
        "mhutchie.git-graph",
        "esbenp.prettier-vscode",
        "streetsidesoftware.code-spell-checker",
        "wayou.vscode-todo-highlight",
        "GitHub.copilot",
        "dbaeumer.vscode-eslint",
        "yoavbls.pretty-ts-errors"
      ]
    }
  },
  "postCreateCommand": "scripts/init.sh",
  "remoteEnv": {
    "PATH": "${containerEnv:PATH}:/${containerWorkspaceFolder}/scripts"
  }
}

You can find more details about Dev container at the following links.


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -