Skip to content

使用容器开发

dds 支持在 vscode 中使用容器进行开发

vscode 插件

使用容器开发前,我们需要安装必备插件:

插件

名称: Dev Containers

ID: ms-vscode-remote.remote-containers

说明: Open any folder or repository inside a Docker container and take advantage of Visual Studio Code's full feature set.

版本: 0.315.1

发布者: Microsoft

VS Marketplace 链接: https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers

标准开发镜像

我们使用 aio:2004 镜像作为标准开发镜像,使用前需要从仓库拉取

shell
docker pull gcr.minieye.tech/huangjian/dds/build_tools/aio:20.04

打开项目

  1. 打开 aiplorer 仓库,切换到 master_dds 分支
  2. 点击vscode窗口左下角 "打开远程"
  3. 选择在容器中重新打开

智能汽车赋能者