logo
0
0
Login
Forkfromexamples/ecosystem/install-vsx-extension, ahead:main10 commits

Installing Extensions Using VSIX Packages

When using code-server in Dockerfile to install extensions, the extension source is OpenVSX.

If you cannot find the required extension in the OpenVSX repository, you can try downloading VSIX installation packages from other extension sources. Then use the VSIX package to install the extension in Dockerfile.

Example Dockerfile Configuration

# Install from OpenVSX RUN code-server --install-extension ms-python.python # Install from local VSIX package RUN code-server --install-extension /path/to/extension.vsix

Notes

  1. OpenVSX is an open-source alternative to Microsoft's VS Code Marketplace
  2. VSIX packages can be downloaded from various sources including:
  3. Some extensions may require additional dependencies in the container

About

如果 openvsx 中没有你需要的插件,可以在其他插件源下载插件,并提交到仓库,通过 vsx 文件来安装插件

Language
Markdown56%
Dockerfile44%