mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-13 13:02:56 +00:00
use groups for managing write-access to files
- any files the user should be able to write should have group `user-permissions` with `g+rwX` - remove `chown` from start.sh because it is no longer needed - add `fix-permissions` script for setting the user-writable permissions on a path - user-permissions group as GID 10000 (is there a reason for it to have a different value?) - containers can set group with `--group-add user-writable` if they want to run with a different uid/gid (without -u root -e NB_UID -e NB_GID, which make this unnecessary)
This commit is contained in:
@@ -4,5 +4,7 @@ FROM jupyter/scipy-notebook
|
||||
|
||||
MAINTAINER Jupyter Project <jupyter@googlegroups.com>
|
||||
|
||||
# Install Python 3 Tensorflow
|
||||
RUN conda install --quiet --yes 'tensorflow=1.0*'
|
||||
# Install Tensorflow
|
||||
RUN conda install --quiet --yes 'tensorflow=1.0*' && \
|
||||
conda clean -tipsy && \
|
||||
fix-permissions $CONDA_DIR
|
||||
|
Reference in New Issue
Block a user