Merge pull request #84 from johnnychen94/patch-3

[Julia] make registry downloading failure a panic
This commit is contained in:
Yuxiang Zhang 2020-08-11 21:03:26 +08:00 committed by GitHub
commit d5f2142cf2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,7 +11,7 @@ LABEL maintainer="Johnny Chen <johnnychen94@hotmail.com>"
ENV JULIA_DEPOT_PATH="/opt/julia"
RUN adduser --uid 2000 tunasync && \
julia -e 'using Pkg; pkg"add https://github.com/johnnychen94/StorageMirrorServer.jl#v0.1.1-rc3"' && \
julia -e 'using Pkg; pkg"add https://github.com/johnnychen94/StorageMirrorServer.jl#v0.1.1-rc4"' && \
chmod a+rx -R $JULIA_DEPOT_PATH
COPY dockerfiles/julia/startup.jl /usr/local/julia/etc/julia/startup.jl