mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-06-29 03:33:19 -04:00
switch to hybrid
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user