diff --git a/datascience-notebook/Dockerfile b/datascience-notebook/Dockerfile index ed0fb2de..f2b81237 100644 --- a/datascience-notebook/Dockerfile +++ b/datascience-notebook/Dockerfile @@ -52,4 +52,8 @@ RUN julia -e 'Pkg.add("IJulia")' && \ mv /home/$NB_USER/.local/share/jupyter/kernels/* $CONDA_DIR/share/jupyter/kernels/ && \ chmod -R go+rx $CONDA_DIR/share/jupyter && \ rm -rf /home/$NB_USER/.local/share -RUN julia -e 'Pkg.add("Gadfly")' && julia -e 'Pkg.add("RDatasets")' + +# Show Julia where conda libraries are +# Add essential packages +RUN echo 'push!(Sys.DL_LOAD_PATH, "/opt/conda/lib")' > /home/$NB_USER/.juliarc.jl && \ + julia -e 'Pkg.add("Gadfly")' && julia -e 'Pkg.add("RDatasets")' && julia -F -e 'Pkg.add("HDF5")' diff --git a/datascience-notebook/README.md b/datascience-notebook/README.md index caed3494..63b73cf8 100644 --- a/datascience-notebook/README.md +++ b/datascience-notebook/README.md @@ -9,7 +9,7 @@ * pandas, matplotlib, scipy, seaborn, scikit-learn, scikit-image, sympy, cython, patsy, statsmodel, cloudpickle, dill, numba, bokeh pre-installed * Conda R v3.2.x and channel * plyr, devtools, dplyr, ggplot2, tidyr, shiny, rmarkdown, forecast, stringr, rsqlite, reshape2, nycflights13, caret, rcurl, and randomforest pre-installed -* Julia v0.3.x with Gadfly and RDatasets pre-installed +* Julia v0.3.x with Gadfly, RDatasets and HDF5 pre-installed * Unprivileged user `jovyan` (uid=1000, configurable, see options) in group `users` (gid=100) with ownership over `/home/jovyan` and `/opt/conda` * [tini](https://github.com/krallin/tini) as the container entrypoint and [start-notebook.sh](../minimal-notebook/start-notebook.sh) as the default command * Options for HTTPS, password auth, and passwordless `sudo`