switch to hybrid

This commit is contained in:
aptalca
2022-07-29 09:39:19 -04:00
parent 03547a5dd1
commit 7712135054
6 changed files with 17 additions and 0 deletions
@@ -0,0 +1,15 @@
#!/usr/bin/with-contenv bash
# Exit if no VsCode extensions are given
if [ -z ${VSCODE_EXTENSION_IDS+x} ]; then
echo "**** No VSCODE EXTENSIONS GIVEN****"
exit 0
fi
IFS='|'
VSCODE_EXTENSION_IDS=(${VSCODE_EXTENSION_IDS})
for ID in "${VSCODE_EXTENSION_IDS[@]}"; do
echo "**** installing extension: ${ID} ****"
s6-setuidgid abc code-server --user-data-dir /config/data --extensions-dir /config/extensions --install-extension ${ID}
done
@@ -0,0 +1 @@
oneshot
@@ -0,0 +1 @@
/etc/s6-overlay/s6-rc.d/init-mod-code-server-extension-arguments/run