Commit Graph

78 Commits

Author SHA1 Message Date
Peter Parente
3562a0c121 Configure en_US.UTF-8
Fixes #82

(c) Copyright IBM Corp. 2015
2015-12-16 22:42:22 -05:00
Peter Parente
937dc6efa7 Create jovyan user before conda install
Avoids costly chown, fixes #81

(c) Copyright IBM Corp. 2015
2015-12-16 22:40:07 -05:00
Peter Parente
f5bb3d4801 Remove need to quote >1 args to start-notebook
(c) Copyright IBM Corp. 2015
2015-10-20 22:43:32 -04:00
Peter Parente
3411997451 Retain current default port and interface IP
(c) Copyright IBM Corp. 2015
2015-10-20 22:43:12 -04:00
Peter Parente
ad99f8c74f Remove trivial env vars, doc command line args
* Remove PORT and INTERFACE env vars which can conflict with other systems (e.g., Mesos)
* Document command line pass-through to start-notebook.sh

(c) Copyright IBM Corp. 2015
2015-10-19 09:36:28 -04:00
Peter Parente
488aa7ba64 Remove 3.x vs 4.x legacy info from README
Fixes #48

(c) Copyright IBM Corp. 2015
2015-10-19 09:05:10 -04:00
Peter Parente
43e1914065 Add doc about conda environments
Contribution (c) Copyright IBM Corp. 2015
2015-10-07 22:31:27 -04:00
Peter Parente
6e7c1574a6 Note tini is in 4.0 and up images 2015-09-23 20:17:33 -04:00
Peter Parente
4c34446dc7 Fix jovyan hardcode in start-notebook.sh
Contribution (c) Copyright IBM Corp. 2015
2015-09-22 20:51:50 -04:00
Peter Parente
d425a3a502 Mention tini and start-notebook.sh in READMEs
Contribution (c) Copyright IBM Corp. 2015
2015-09-22 20:51:42 -04:00
Peter Parente
678b64e9e4 Swap tini for supervisord
* Pass $@ args to start-notebook.sh
* Set tini as entrypoint, but keep start-notebook.sh as easily overridable CMD
* su to jovyan user within start-notebook.sh script

Contribution (c) Copyright IBM Corp. 2015
2015-09-22 20:51:18 -04:00
Justin Tyberg
163867cb4d Set permissions on PEM_FILE, if generated. 2015-09-15 21:15:30 -04:00
Justin Tyberg
5956f1ae84 Ensure PEM file directory exists before creating file.
Fixes issue #34
2015-09-15 11:15:29 -04:00
Peter Parente
d51afb34f7 Explicitly document jovyan user 2015-09-12 20:39:31 -04:00
Peter Parente
0c508efe4e Set group=users on home and conda dir 2015-09-12 20:37:53 -04:00
Peter Parente
dba9977525 Create jovyan in Dockerfile, reset UID at startup
* Create user jovyan with UID=1000 in the default users group in the Dockerfile
* Set group ownership of user home and conda to root to avoid 'users' group from host access when mounted
* Set stick bit on both paths so root owns subdirs too
* Change jovyan UID if NB_UID is specified and is not the default 1000

Contribution (c) Copyright IBM Corp. 2015
2015-09-10 23:46:31 -04:00
Peter Parente
5bc8eb1822 Make jovyan name / paths constant 2015-08-30 09:11:19 -04:00
Peter Parente
701212dbf1 Explicitly set USER root in every Dockerfile
Contribution (c) Copyright IBM Corp. 2015
2015-08-29 21:50:04 -04:00
Peter Parente
80c8475276 Improve start-notebook.sh checks
* Only create jovyan and set perms if user does not exist
* Allow docker host mount for NB_WORK: copy skel files if useradd fails because home dir already exists

Contribution (c) Copyright IBM Corp. 2015
2015-08-28 23:45:01 -04:00
Peter Parente
c4616560cf Make subimages compatible with late user creation
* Always remain as root during install
* Put kernel specs in system path, not user home
* Create user work directory at startup
* Note this is in 4.0 and up images, not 3.2

Contribution (c) Copyright IBM Corp. 2015
2015-08-28 23:43:57 -04:00
Carl Osterwisch
30932a3b12 Revert to using supervisord to launch notebook
Used to relaunch notebook and collect logging data.
2015-08-28 23:39:08 -04:00
Carl Osterwisch
f2b7f38df6 Added NB_UID to docs 2015-08-28 23:39:08 -04:00
Carl Osterwisch
7fad0c43f6 Move useradd, enable_sudo.sh, and server launch into start-notebook.sh
Provides ability to specify NB_USER and NB_UID at docker run time rather than build time.
2015-08-28 23:39:08 -04:00
Carl Osterwisch
c0dace3671 Expand $CONDA_DIR prior to writing /etc/profile.d/conda.sh 2015-08-28 23:39:08 -04:00
Peter Parente
e1c0c75c9c Upgrade to Jupyter Notebook
* Change minimal-notebook to install notebook=4.0*
* Change other Dockerfile to point to 4.0 Docker Hub tag (to be built)
* Change config and pem file paths for jupyter
* Install ipywidgets in all containers that have a Python stack
* Update all READMEs to describe v3.2 and v4.0 since Docker Hub only shows one README for all tags

Contribution (c) Copyright IBM Corp. 2015
2015-08-23 08:55:09 -04:00
Peter Parente
f0fb87a6b1 Allow notebook patch release to vary
* Noticed that r-notebook was installing ipython 3.2.1 while the base image already had 3.2.0

Contribution (c) Copyright IBM Corp. 2015
2015-08-19 10:03:04 -04:00
Peter Parente
6ac874bd6b Make NotebookApp.ip and .port configurable
Necessary when running Docker with --net=host to avoid unknown port jumps and exposure on all host interfaces

(c) Copyright IBM Corp. 2015
2015-08-11 16:35:02 -04:00
Peter Parente
8ab2e0ed8f Initial contribution of R, scipy, minimal notebook stacks 2015-07-21 13:26:47 -05:00