Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
dtandersen authored Jan 29, 2024
1 parent b95097d commit c7ca5c1
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,17 @@ LABEL maintainer="UC San Diego ITS/ETS <[email protected]>"
# 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
Expand Down

0 comments on commit c7ca5c1

Please sign in to comment.