resolve issue #176
The entire installation of jupyter and tensorflow is done as user ${TENSORFLOW_USER} with pip. Folder /home/${TENSORFLOW_USER}/.local/bin is added to the environment variable PATH. A notebook folder /home/${TENSORFLOW_USER}/notebooks is created and the tutorials are installed in this folder.
Finally the command
source /etc/bash.bashrc && jupyter notebook --notebook-dir=${TENSORFLOW_NOTEBOOK_DIR} --ip 0.0.0.0 --no-browser --allow-root
is run as TENSORFLOW_USER.
The only thing still bothering me is the call to ldconfig in /etc/bash.bashrc. I don't understand why we need this. And it can't be done as non-root user.
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).
View this failed invocation of the CLA check for more information.
For the most up to date status, view the checks section at the bottom of the pull request.