mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-06-26 02:03:14 -04:00
Merge pull request #416 from linuxserver/code-server-julia-s6v3
switch to hybrid (code-server-julia)
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
|
||||
ARCH=$(uname -m)
|
||||
if [ "${ARCH}" = "armv7l" ]; then
|
||||
echo '
|
||||
*********************************************************
|
||||
*********************************************************
|
||||
**** ****
|
||||
**** julia binaries are no longer guaranteed ****
|
||||
**** ****
|
||||
**** to be available on arm32v7 ****
|
||||
**** ****
|
||||
**** therefore this mod no longer supports ****
|
||||
**** ****
|
||||
**** arm32v7 ****
|
||||
**** ****
|
||||
*********************************************************
|
||||
*********************************************************
|
||||
'
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if [ -d "/julia-bins" ]; then
|
||||
echo "**** Installing/updating Julia ****"
|
||||
mkdir -p /julia
|
||||
tar xf "/julia-bins/julia-${ARCH}.tar.gz" -C \
|
||||
/julia --strip-components=1
|
||||
rm -rf /usr/local/bin/julia
|
||||
ln -s /julia/bin/julia /usr/local/bin/julia
|
||||
chmod +x /julia/bin/julia
|
||||
else
|
||||
echo "**** Latest stable version of Julia already installed ****"
|
||||
fi
|
||||
|
||||
echo "**** Installing vscode extensions julia, julia-formatter and better-toml ****"
|
||||
# extensions
|
||||
install-extension julialang.language-julia
|
||||
# vscode-julia-formatter
|
||||
install-extension singularitti.vscode-julia-formatter
|
||||
# better-toml
|
||||
install-extension bungcip.better-toml
|
||||
@@ -0,0 +1 @@
|
||||
oneshot
|
||||
@@ -0,0 +1 @@
|
||||
/etc/s6-overlay/s6-rc.d/init-mod-code-server-julia-install/run
|
||||
Reference in New Issue
Block a user