mirror of
https://github.com/tuna/tunasync-scripts.git
synced 2025-07-12 09:48:50 +00:00
[Julia] upgrade julia mirror script
This commit is contained in:
@ -8,18 +8,7 @@ FROM julia:1.4
|
||||
LABEL description="A community maintained docker script to set up julia mirror easily."
|
||||
LABEL maintainer="Johnny Chen <johnnychen94@hotmail.com>"
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y \
|
||||
git && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
ENV JULIA_DEPOT_PATH="/tmp/julia"
|
||||
ENV JULIA_STATIC_DIR="/julia/static"
|
||||
ENV JULIA_CLONES_DIR="/julia/clones"
|
||||
|
||||
# StorageServer.jl is an experimental toolkit and it won't be registered in General
|
||||
# The API is likely to be changed in the future, so we fix the version here for stability consideration
|
||||
RUN julia -e 'using Pkg; pkg"add https://github.com/johnnychen94/StorageServer.jl#v0.1.0-rc1"'
|
||||
RUN julia -e 'using Pkg; pkg"add https://github.com/johnnychen94/StorageMirrorServer.jl#v0.1.0-rc8"'
|
||||
|
||||
RUN chown -R 2000 /tmp/julia/
|
||||
|
||||
|
Reference in New Issue
Block a user