mirror of
https://github.com/tuna/tunasync-scripts.git
synced 2025-07-01 07:22:45 +00:00
[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.
This commit is contained in:
parent
f0fce81c29
commit
cb90bfa7b6
@ -11,7 +11,7 @@ LABEL maintainer="Johnny Chen <johnnychen94@hotmail.com>"
|
|||||||
ENV JULIA_DEPOT_PATH="/opt/julia"
|
ENV JULIA_DEPOT_PATH="/opt/julia"
|
||||||
|
|
||||||
RUN adduser --uid 2000 tunasync && \
|
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
|
chmod a+rx -R $JULIA_DEPOT_PATH
|
||||||
|
|
||||||
# Julia doesn't not yet have a nice solution for centralized package system with preinstalled
|
# Julia doesn't not yet have a nice solution for centralized package system with preinstalled
|
||||||
|
Loading…
x
Reference in New Issue
Block a user