docs: 新增devcontainer的readme
All checks were successful
CI Monitor CI/CD / build-image (push) Successful in 31s
CI Monitor CI/CD / deploy (push) Successful in 33s

This commit is contained in:
zhaoyingbo 2024-07-25 01:28:43 +00:00
parent a0206bc6e2
commit 98fe74c2d9

14
.devcontainer/readme.md Normal file
View 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)