Skip to content

Remote Exension Host server startup helper for use with containers. Targets OSS builds of VSCode

License

Notifications You must be signed in to change notification settings

Commodoreprime/vscode-oss-container-reh-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Remote Extension Host Server Automatic Initalizer For Containers For VSCode OSS Builds

Implements REH server initalization, updating and startup for containers, targets Linux based systems.

Sort of "inspired by" devcontainers in that it attempts to reach toward the same end goal. Targeted toward OSS builds of VSCode.

NOTICE

There are some caveats to using these scripts:

  1. There is no functionality to stop the REH server
    • A possible solution is to either:
      1. Stop the container as a whole.
      2. or wrap the vscode executable (for flatpak, put said wrapper path in the --command flag).
  2. These scripts are somewhat fragile, testings have been done. Just, be wary. An extension is in the the works, see future plans

Installation

This is essentially made up of only shell scripts, for the time being. Only a few prerequisites are needed:

package additional notes
bash
distrobox https://github.com/89luca89/distrobox
make Only for automatic installation (more below)
vscode any OSS and proprietary build should work (as well as their Flatpak counterparts)

Manual

  1. Copy the contents of bin/ to wherever you want, just make sure PATH is set to include the files.
  2. Copy share/remote.oss.update.vscodium-reh.sh to either /usr/local/share/ or ~/.local/share/.

Flatpaks

Optionally, in order to intergrate better with the flatpak version of vscode builds you can copy com.vscodium.codium.desktop and com.vscodium.codium-url-handler.desktop from /var/lib/flatpak/exports/share/applications/ to ~/.local/share/applications and modify the Exec lines to be Exec=codium <...>.

Future plans

About

Remote Exension Host server startup helper for use with containers. Targets OSS builds of VSCode

Topics

Resources

License

Stars

Watchers

Forks

Languages