mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-11 12:02:56 +00:00
Merge pull request #711 from sansumbrella/patch-1
Update Juilia version to 1.0.0
This commit is contained in:
@@ -22,12 +22,12 @@ RUN apt-get update && \
|
||||
# Julia dependencies
|
||||
# install Julia packages in /opt/julia instead of $HOME
|
||||
ENV JULIA_PKGDIR=/opt/julia
|
||||
ENV JULIA_VERSION=0.6.2
|
||||
ENV JULIA_VERSION=1.0.0
|
||||
|
||||
RUN mkdir /opt/julia-${JULIA_VERSION} && \
|
||||
cd /tmp && \
|
||||
wget -q https://julialang-s3.julialang.org/bin/linux/x64/`echo ${JULIA_VERSION} | cut -d. -f 1,2`/julia-${JULIA_VERSION}-linux-x86_64.tar.gz && \
|
||||
echo "dc6ec0b13551ce78083a5849268b20684421d46a7ec46b17ec1fab88a5078580 *julia-${JULIA_VERSION}-linux-x86_64.tar.gz" | sha256sum -c - && \
|
||||
echo "bea4570d7358016d8ed29d2c15787dbefaea3e746c570763e7ad6040f17831f3 *julia-${JULIA_VERSION}-linux-x86_64.tar.gz" | sha256sum -c - && \
|
||||
tar xzf julia-${JULIA_VERSION}-linux-x86_64.tar.gz -C /opt/julia-${JULIA_VERSION} --strip-components=1 && \
|
||||
rm /tmp/julia-${JULIA_VERSION}-linux-x86_64.tar.gz
|
||||
RUN ln -fs /opt/julia-*/bin/julia /usr/local/bin/julia
|
||||
@@ -75,12 +75,11 @@ RUN conda install --quiet --yes \
|
||||
# Install IJulia as jovyan and then move the kernelspec out
|
||||
# to the system share location. Avoids problems with runtime UID change not
|
||||
# taking effect properly on the .local folder in the jovyan home dir.
|
||||
RUN julia -e 'Pkg.init()' && \
|
||||
julia -e 'Pkg.update()' && \
|
||||
(test $TEST_ONLY_BUILD || julia -e 'Pkg.add("HDF5")') && \
|
||||
julia -e 'Pkg.add("Gadfly")' && \
|
||||
julia -e 'Pkg.add("RDatasets")' && \
|
||||
julia -e 'Pkg.add("IJulia")' && \
|
||||
RUN julia -e 'import Pkg; Pkg.update()' && \
|
||||
(test $TEST_ONLY_BUILD || julia -e 'import Pkg; Pkg.add("HDF5")') && \
|
||||
julia -e 'import Pkg; Pkg.add("Gadfly")' && \
|
||||
julia -e 'import Pkg; Pkg.add("RDatasets")' && \
|
||||
julia -e 'import Pkg; Pkg.add("IJulia")' && \
|
||||
# Precompile Julia packages \
|
||||
julia -e 'using IJulia' && \
|
||||
# move kernelspec out of home \
|
||||
|
Reference in New Issue
Block a user