mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-17 06:52:56 +00:00
Fix jovyan hardcode in start-notebook.sh
Contribution (c) Copyright IBM Corp. 2015
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Change UID of jovyan to NB_UID if it does not match
|
||||
if [ "$NB_UID" != $(id -u jovyan) ] ; then
|
||||
# Change UID of NB_USER to NB_UID if it does not match
|
||||
if [ "$NB_UID" != $(id -u $NB_USER) ] ; then
|
||||
usermod -u $NB_UID $NB_USER
|
||||
chown -R $NB_UID $CONDA_DIR
|
||||
fi
|
||||
|
Reference in New Issue
Block a user