mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-07-19 01:46:10 -04:00
update version retrieval
This commit is contained in:
+3
-3
@@ -7,9 +7,9 @@ RUN \
|
||||
curl \
|
||||
jq && \
|
||||
if [ -z "${JULIA_VERSION}" ]; then \
|
||||
JULIA_VERSION=$(curl -sX GET "https://api.github.com/repos/JuliaLang/julia/releases/latest" \
|
||||
| jq -r '. | .tag_name' \
|
||||
| sed 's|^v||'); \
|
||||
JULIA_VERSION=$(curl -sL https://julialang.org/downloads/ \
|
||||
| sed 's|.*Current stable release: v||' \
|
||||
| sed 's| (.*||'); \
|
||||
fi && \
|
||||
JULIA_MIN_VERSION=$(echo "${JULIA_VERSION}" | cut -d. -f 1,2) && \
|
||||
mkdir -p /root-layer/julia-bins && \
|
||||
|
||||
Reference in New Issue
Block a user