Commit 64b4beda authored by Ellis Valentiner's avatar Ellis Valentiner

julia 0.6.0

parent 033056e6
...@@ -19,16 +19,13 @@ RUN apt-get update && \ ...@@ -19,16 +19,13 @@ RUN apt-get update && \
# install Julia packages in /opt/julia instead of $HOME # install Julia packages in /opt/julia instead of $HOME
ENV JULIA_PKGDIR=/opt/julia ENV JULIA_PKGDIR=/opt/julia
RUN . /etc/os-release && \ RUN mkdir -p /opt/julia-0.6.0 && \
echo "deb http://ppa.launchpad.net/staticfloat/juliareleases/ubuntu $VERSION_CODENAME main" > /etc/apt/sources.list.d/julia.list && \ wget -qO- https://julialang.s3.amazonaws.com/bin/linux/x64/0.6/julia-0.6.0-linux-x86_64.tar.gz | tar -C /opt/julia-0.6.0 -x -z --strip-components=1 -f -
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3D3D3ACC && \ RUN ln -s /opt/julia-0.6.0/bin/julia /usr/local/bin/julia
apt-get update && \
apt-get install -y --no-install-recommends \ # Show Julia where conda libraries are \
julia && \ RUN mkdir /etc/julia && \
apt-get clean && \ echo "push!(Libdl.DL_LOAD_PATH, \"$CONDA_DIR/lib\")" >> /etc/julia/juliarc.jl && \
rm -rf /var/lib/apt/lists/* && \
# Show Julia where conda libraries are \
echo "push!(Libdl.DL_LOAD_PATH, \"$CONDA_DIR/lib\")" >> /usr/etc/julia/juliarc.jl && \
# Create JULIA_PKGDIR \ # Create JULIA_PKGDIR \
mkdir $JULIA_PKGDIR && \ mkdir $JULIA_PKGDIR && \
chown $NB_USER $JULIA_PKGDIR && \ chown $NB_USER $JULIA_PKGDIR && \
...@@ -78,4 +75,3 @@ RUN julia -e 'Pkg.init()' && \ ...@@ -78,4 +75,3 @@ RUN julia -e 'Pkg.init()' && \
chmod -R go+rx $CONDA_DIR/share/jupyter && \ chmod -R go+rx $CONDA_DIR/share/jupyter && \
rm -rf $HOME/.local && \ rm -rf $HOME/.local && \
fix-permissions $JULIA_PKGDIR $CONDA_DIR/share/jupyter fix-permissions $JULIA_PKGDIR $CONDA_DIR/share/jupyter
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment