From 1dc662ec1f4b0c55a67ff03849aea046e70602dc Mon Sep 17 00:00:00 2001 From: Fabian Gans Date: Tue, 4 Apr 2017 16:17:36 +0200 Subject: [PATCH] update julia script --- cablab-singleuser-julia-nb/Dockerfile | 4 ++-- cablab-singleuser-julia-nb/README.md | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/cablab-singleuser-julia-nb/Dockerfile b/cablab-singleuser-julia-nb/Dockerfile index d89b41a..d66830b 100644 --- a/cablab-singleuser-julia-nb/Dockerfile +++ b/cablab-singleuser-julia-nb/Dockerfile @@ -12,10 +12,10 @@ RUN mkdir julia && tar xzf julia-0.5.0-linux-x86_64.tar.gz -C julia --strip-comp RUN PATH="/srv/jupyterhub/julia/bin:$PATH" WORKDIR /srv/jupyterhub/julia RUN echo 'Pkg.add("IJulia")' > IJulia.jl -RUN echo 'Pkg.clone("https://github.com/CAB-LAB/CABLAB.jl");Pkg.checkout("Patchwork")' > installcablab.jl +RUN echo 'Pkg.clone("https://github.com/CAB-LAB/CABLAB.jl");Pkg.add("Patchwork");Pkg.checkout("Patchwork");Pkg.clone("https://github.com/CAB-LAB/CABLABPlots.jl")' > installcablab.jl RUN echo 'Pkg.clone("https://github.com/milanflach/LIBSVM.jl");Pkg.checkout("LIBSVM","mutating_versions")' > installlibsvm.jl RUN echo 'Pkg.clone("https://github.com/milanflach/MultivariateAnomalies.jl")' > installmultivariate.jl -RUN echo 'using CABLAB' > precomp.jl +RUN echo 'using Compose; using CABLAB; using CABLABPlots' > precomp.jl USER jovyan RUN export CABLAB_WORKDIR="/home/jovyan/work/tmp" RUN /srv/jupyterhub/julia/bin/julia IJulia.jl diff --git a/cablab-singleuser-julia-nb/README.md b/cablab-singleuser-julia-nb/README.md index 91b3261..da738f5 100644 --- a/cablab-singleuser-julia-nb/README.md +++ b/cablab-singleuser-julia-nb/README.md @@ -10,17 +10,17 @@ This repository contains **Dockerfile** of a single user Jupyter notebook that i ### What's available on the Jupyter Notebook? -* Python2 and Python3 bundled in Conda installation (more detailed on the included packages can be found in [scipy-notebook Dockerfile](https://github.com/jupyter/docker-stacks/blob/master/scipy-notebook/Dockerfile)) +* Python2 and Python3 bundled in Conda installation (more detailed on the included packages can be found in [scipy-notebook Dockerfile](https://github.com/jupyter/docker-stacks/blob/master/scipy-notebook/Dockerfile)) * cablab-core (latest) * gridtools (latest) -* Julia 0.4.6 +* Julia 0.5.0 ### Installation 1. Install [Docker](https://www.docker.com/). - + 2. `docker build -t cablab/singleuser-julia .`