18 lines
618 B
Markdown
18 lines
618 B
Markdown
# Dev Container
|
|
|
|
这是 Bun + Node.js 的开发容器,基于`mcr.microsoft.com/devcontainers/typescript-node:20`镜像
|
|
|
|
在宿主机上设置`.gitconfig`文件,以及`.ssh`文件夹,以便容器可以访问 git 仓库。
|
|
|
|
> 详见[官方文档](https://code.visualstudio.com/remote/advancedcontainers/sharing-git-credentials)
|
|
|
|
# 资源
|
|
|
|
[devcontainer.json 字段定义](https://containers.dev/implementors/json_reference/)
|
|
|
|
[devcontainer 官方文档](https://code.visualstudio.com/docs/remote/containers)
|
|
|
|
[images](https://github.com/devcontainers/images)
|
|
|
|
[features](https://github.com/devcontainers/features)
|