mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-07-01 04:21:56 -04:00
Docker mod for installing Subversion + SVN extension into code-server container.
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
|
||||
apt-get update
|
||||
|
||||
echo "**** installing subversion ****"
|
||||
apt-get install -y subversion
|
||||
@@ -1,15 +0,0 @@
|
||||
#!/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} ****"
|
||||
code-server --user-data-dir /config/data --extensions-dir /config/extensions --install-extension ${ID}
|
||||
done
|
||||
@@ -0,0 +1,4 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
|
||||
echo "**** installing SVN extension ****"
|
||||
s6-setuidgid abc code-server --user-data-dir /config/data --extensions-dir /config/extensions --install-extension johnstoncode.svn-scm
|
||||
Reference in New Issue
Block a user