微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

定制eclipse-che工作区时遇到问题

如何解决定制eclipse-che工作区时遇到问题

我正在使用自定义和品牌,但遇到了一些问题,也许有人可以帮助我。 我有这个devfile:从python堆栈中获得的基本devfile,以及我在文档中添加的品牌编辑器:

apiVersion: 1.0.0
Metadata:
  name: python-branding
projects:
  - name: python-hello-world
    source:
      location: 'https://github.com/che-samples/python-hello-world.git'
      type: git
      branch: master
components:
  - id: ms-python/python/latest
    memoryLimit: 512Mi
    type: chePlugin
  - mountSources: true
    memoryLimit: 512Mi
    type: dockerimage
    image: 'quay.io/eclipse/che-python-3.7:nightly'
    alias: python
  - type: cheEditor
    reference: 'https://raw.githubusercontent.com/che-samples/che-theia-branding-example/master/che-editor.Meta.yaml'
commands:
  - name: run
    actions:
      - workdir: '${CHE_PROJECTS_ROOT}/python-hello-world'
        type: exec
        command: '. ${CHE_PROJECTS_ROOT}/.venv/bin/activate &&  python hello-world.py'
        component: python
  - name: set up venv
    actions:
      - workdir: '${CHE_PROJECTS_ROOT}/'
        type: exec
        command: python -m venv /projects/.venv
        component: python

,我收到此错误

enter image description here

我想念什么?

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。