aptalca 60d766c432
Merge pull request #628 from linuxserver/code-server-extension-arguments-update
code-server-extension-arguments add/update workflows
2023-05-21 10:07:57 -04:00
2020-02-02 15:55:44 -05:00
2020-02-02 15:55:44 -05:00
2020-02-02 15:55:44 -05:00
2019-05-30 20:35:20 +01:00

Extension Arguments - Docker mod for code-server/openvscode-server

This mod installs code-server/openvscode-server extensions at startup. The list of extensions to be installed should be provided using environment variable VSCODE_EXTENSION_IDS separated by |.

NOTE: Since transitioning from v3.12.0 to v4.0.x code-server has been forced to use a new Extensions Gallery / Marketplace. This results in a smaller set of plugins being available to install. Please take this into account before opening an Issue!

A workaround for this is to use the environment variable EXTENSIONS_GALLERY to provide a different marketplace URL. The commandline installer used by this plugin will also use the marketplace provided by this variable.

Please refer to the code-server FAQ for additional information.

For example, to install the vscode-docker and vscode-icons extensions add the following lines to your docker compose service:

  environment:
    DOCKER_MODS: 'linuxserver/mods:code-server-docker|linuxserver/mods:code-server-extension-arguments'
    VSCODE_EXTENSION_IDS: 'vscode-icons-team.vscode-icons|ms-azuretools.vscode-docker'
    ## Optionally use a different marketplace if required extensions are unavailable. e.g.:
    # EXTENSIONS_GALLERY: '{"serviceUrl": "https://extensions.coder.com/api"}'
    # EXTENSIONS_GALLERY: '{"serviceUrl": "https://open-vsx.org/vscode/gallery", "itemUrl": "https://open-vsx.org/vscode/item"}'
Description
No description provided
Readme GPL-3.0 6.5 MiB
Languages
Text 100%