docs: 新增devcontainer的readme
This commit is contained in:
parent
a0206bc6e2
commit
98fe74c2d9
14
.devcontainer/readme.md
Normal file
14
.devcontainer/readme.md
Normal file
@ -0,0 +1,14 @@
|
||||
# Dev Container
|
||||
|
||||
这是Bun + Node.js的开发容器,基于`mcr.microsoft.com/devcontainers/typescript-node:20`镜像
|
||||
|
||||
在宿主机上设置`.gitconfig`文件,以及`.ssh`文件夹,以便容器可以访问git仓库。
|
||||
|
||||
> 详见[官方文档](https://code.visualstudio.com/remote/advancedcontainers/sharing-git-credentials)
|
||||
|
||||
# 资源
|
||||
|
||||
1. [devcontainer.json字段定义](https://containers.dev/implementors/json_reference/)
|
||||
2. [devcontainer官方文档](https://code.visualstudio.com/docs/remote/containers)
|
||||
3. [images](https://github.com/devcontainers/images)
|
||||
4. [features](https://github.com/devcontainers/features)
|
Loading…
x
Reference in New Issue
Block a user