generated from ucsd-ets/datahub-example-notebook
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b95097d
commit c7ca5c1
Showing
1 changed file
with
11 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|