2.8. 启动 Visual Studio Code - 安装了所选默认扩展的开源("Code - OSS")
在这个版本中,您可以使用 devfile postStart 事件和 automount ConfigMap 组合安装默认的 Visual Studio Code - Open Source ("Code - OSS")扩展:
- id: add-default-extensions
exec:
# put your tooling container name here
component: runtime
commandLine: |
# download regular binary
curl open-vsx.org/api/atlassian/atlascode/3.0.10/file/atlassian.atlascode-3.0.10.vsix --location -o /tmp/atlassian.atlascode-3.0.10.vsix
curl open-vsx.org/api/snowflake/snowflake-vsc/1.9.1/file/snowflake.snowflake-vsc-1.9.1.vsix --location -o /tmp/snowflake.snowflake-vsc-1.9.1.vsix
events:
postStart:
- add-default-extensions
其他资源