Skip to content

Commit 86d3e3b

Browse files
authored
Merge branch 'code-server-julia' into code-server-julia-s6v3
2 parents 5741f7e + ca61f46 commit 86d3e3b

File tree

3 files changed

+24
-6
lines changed

3 files changed

+24
-6
lines changed

Dockerfile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@ RUN \
1616
echo "**** Downloading x86_64 binary ****" && \
1717
curl -fL "https://julialang-s3.julialang.org/bin/linux/x64/${JULIA_MIN_VERSION}/julia-${JULIA_VERSION}-linux-x86_64.tar.gz" -o \
1818
"/root-layer/julia-bins/julia-x86_64.tar.gz" && \
19-
echo "**** Downloading armv7l binary ****" && \
20-
curl -fL "https://julialang-s3.julialang.org/bin/linux/armv7l/${JULIA_MIN_VERSION}/julia-${JULIA_VERSION}-linux-armv7l.tar.gz" -o \
21-
"/root-layer/julia-bins/julia-armv7l.tar.gz" && \
2219
echo "**** Downloading aarch64 binary ****" && \
2320
curl -fL "https://julialang-s3.julialang.org/bin/linux/aarch64/${JULIA_MIN_VERSION}/julia-${JULIA_VERSION}-linux-aarch64.tar.gz" -o \
2421
"/root-layer/julia-bins/julia-aarch64.tar.gz"

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@
22

33
This mod adds a Julia dev environment to code-server/openvscode-server, to be installed/updated during container start.
44

5-
In code-server/openvscode-server docker arguments, set an environment variable `DOCKER_MODS=linuxserver/mods:code-server-julia`
5+
**This mod no longer supports arm32v7 due to upstream binaries no longer guaranteed to be available on it per [this post](https://discourse.julialang.org/t/is-the-linux-armv7l-binary-deprecated/85924/2).**
6+
7+
In code-server docker arguments, set an environment variable `DOCKER_MODS=linuxserver/mods:code-server-julia`
68

79
If adding multiple mods, enter them in an array separated by `|`, such as `DOCKER_MODS=linuxserver/mods:code-server-julia|linuxserver/mods:code-server-mod2`
810

9-
By default, the latest stable version of Julia will be installed. If you'd like to install a different version, you can specify the version as a tag, from a list of published tags: https://hub.docker.com/r/linuxserver/mods/tags?page=1&name=code-server-julia (ie. `DOCKER_MODS=linuxserver/mods:code-server-julia-1.7.2`).
11+
By default, the latest stable version of Julia will be installed. If you'd like to install a different version, you can specify the version as a tag, from a list of published tags: https://hub.docker.com/r/linuxserver/mods/tags?page=1&name=code-server-julia (ie. `DOCKER_MODS=linuxserver/mods:code-server-julia-1.8.0`).

root/etc/cont-init.d/98-julia

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,27 @@
11
#!/usr/bin/with-contenv bash
22

3+
ARCH=$(uname -m)
4+
if [ "${ARCH}" = "armv7l" ]; then
5+
echo '
6+
*********************************************************
7+
*********************************************************
8+
**** ****
9+
**** julia binaries are no longer guaranteed ****
10+
**** ****
11+
**** to be available on arm32v7 ****
12+
**** ****
13+
**** therefore this mod no longer supports ****
14+
**** ****
15+
**** arm32v7 ****
16+
**** ****
17+
*********************************************************
18+
*********************************************************
19+
'
20+
exit 0
21+
fi
22+
323
if [ -d "/julia-bins" ]; then
424
echo "**** Installing/updating Julia ****"
5-
ARCH=$(uname -m)
625
mkdir -p /julia
726
tar xf "/julia-bins/julia-${ARCH}.tar.gz" -C \
827
/julia --strip-components=1

0 commit comments

Comments
 (0)