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.
There are some caveats to using these scripts:
- There is no functionality to stop the REH server
- A possible solution is to either:
- Stop the container as a whole.
- or wrap the vscode executable (for flatpak, put said wrapper path in the
--command
flag).
- A possible solution is to either:
- These scripts are somewhat fragile, testings have been done. Just, be wary. An extension is in the the works, see future plans
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) |
- Copy the contents of
bin/
to wherever you want, just make surePATH
is set to include the files. - Copy
share/remote.oss.update.vscodium-reh.sh
to either/usr/local/share/
or~/.local/share/
.
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 <...>
.
- Develop an extension that is sort of a mix of auto-run-command and remote-oss that accomplishes the same outcome of Dev Containers while maintaining full compatibility with OSS builds.