From b1d24fe3a988fbbdd9c4a71eef90759c8f976f35 Mon Sep 17 00:00:00 2001 From: Adam Tilghman Date: Fri, 6 Oct 2023 14:53:10 -0700 Subject: [PATCH] Example julia package addition --- Dockerfile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0246ae5..700442e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,9 +18,12 @@ RUN apt-get -y install htop # 3) install packages using notebook user USER jovyan -# RUN conda install -y scikit-learn +# Configure default Julia package environment +ENV JULIA_DEPOT_PATH=/opt/julia JULIA_PKGDIR=/opt/julia +RUN chmod 1777 /opt/julia/logs -RUN pip install --no-cache-dir networkx scipy +# Add a package (and force compilation if not already done) +RUN julia -e 'using Pkg; Pkg.add("HTTP"); Pkg.instantiate();' # Override command to disable running jupyter notebook at launch # CMD ["/bin/bash"]