coding dev container

liuyuqi-dellpc d02948f6bb Merge branch 'release/1.3.0' 1 year ago
.ide 727f58a5ed 更换路径 1 year ago
.coding-ci.yml 4d9b0889c7 add cpu 1 year ago
README.md 96ce9d4d3e init 1 year ago

README.md

coding-dev-container

coding 自定义开发容器

Develop

构建镜像


DOCKER_OPTS="--registry-mirror=https://mirror.ccs.tencentyun.com"
docker build . --tag jianboy/coding-dev-container

docker tag jianboy/coding-dev-container sift-docker.pkg.coding.net/flutter-team/dev-container/coding-dev-container:<VERSION>
docker push sift-docker.pkg.coding.net/flutter-team/dev-container/coding-dev-container:<VERSION>

配置使用

vim .coding-ci.yml

$:
  api_trigger_vscode:
    clouddev:
        build: .ide/Dockerfile
        image: codingci/default-env:latest
      services:
        - vscode
        - docker
      stages:
        - name: 开启云原生远程开发
          type: vscode:go

vim .ide/Dockerfile

FROM sift-docker.pkg.coding.net/flutter-team/dev-container/coding-dev-container:latest

Reference

License