make registry downloading failure a panic

This commit is contained in:
Johnny Chen 2020-08-10 23:35:12 +08:00 committed by GitHub
parent eca5de8976
commit a738226ce6
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