From c7ca5c1b51a23f04ba6ab603a2d46c90d0c7d1f5 Mon Sep 17 00:00:00 2001 From: David Andersen <11966194+dtandersen@users.noreply.github.com> Date: Mon, 29 Jan 2024 15:36:35 -0800 Subject: [PATCH] Update Dockerfile --- Dockerfile | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index bb527bb..5a982cf 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,7 +13,17 @@ LABEL maintainer="UC San Diego ITS/ETS " # 2) change to root to install packages USER root -RUN apt-get -y install htop +#RUN apt-get -y install htop + +#RUN conda env create --file /tmp/env.yml && \ +# eval "$(conda shell.bash hook)" && \ +# conda activate ${KERNEL} && \ +# mkdir -p $CONDA_PREFIX/etc/conda/activate.d && \ +# CUDNN_PATH=$(dirname $(python -c "import nvidia.cudnn;print(nvidia.cudnn.__file__)")) && \ +# echo 'export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$CONDA_PREFIX/lib/:$CUDNN_PATH/lib' > $CONDA_PREFIX/etc/conda/activate.d/env_vars.sh && \ +# python -m ipykernel install --name=${KERNEL} && \ +# fix-permissions $CONDA_DIR && \ +# fix-permissions /home/$NB_USER # 3) install packages using notebook user USER jovyan