From cb90bfa7b61b6c48724e42ed59b3f04f342e7c42 Mon Sep 17 00:00:00 2001 From: Johnny Chen Date: Thu, 10 Sep 2020 15:54:23 +0800 Subject: [PATCH] [julia] upgrade to StorageMirrorServer v0.2.0 HTTP.jl is somehow not reliable enough that `HTTP.get` would occasionally hang for unidentified reasons. This version uses `curl` instead of `HTTP.get` to fetch resources, which is more stable and faster. `curl` dependency is included in julia:1.5 base image so we don't need to install it. --- dockerfiles/julia/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dockerfiles/julia/Dockerfile b/dockerfiles/julia/Dockerfile index e261a23..6f2ca45 100644 --- a/dockerfiles/julia/Dockerfile +++ b/dockerfiles/julia/Dockerfile @@ -11,7 +11,7 @@ LABEL maintainer="Johnny Chen " ENV JULIA_DEPOT_PATH="/opt/julia" RUN adduser --uid 2000 tunasync && \ - julia -e 'using Pkg; pkg"add StorageMirrorServer@0.1.6"' && \ + julia -e 'using Pkg; pkg"add StorageMirrorServer@0.2.0"' && \ chmod a+rx -R $JULIA_DEPOT_PATH # Julia doesn't not yet have a nice solution for centralized package system with preinstalled