Commit Graph

177 Commits

Author SHA1 Message Date
Michael Delgado
75df827c6d add 'image metadata' alt text in base-notebook readme 2018-10-20 12:36:08 -07:00
Peter Parente
e8048a25dc Fix builds by updating to compatible versions 2018-10-18 10:18:52 -04:00
Josh Harris
a94ecfb136 Update jupyter_notebook_config.py
Latest release of notebook (5.7.0) introduces bug when `c.NotebookApp.ip` is set to '*'. See https://github.com/jupyter/notebook/issues/3946 for details.
2018-09-24 19:29:22 -04:00
Richard Darst
6fa9a4a1f0 Create run-hooks function and switch pre-start hook to that
- This is initial prototype of a more flexible hooks system.
- Add /usr/local/bin/before-notebook.d hooks which is run right before
  the notebook runs.
2018-08-22 01:32:13 +03:00
Richard Darst
a73212ea35 Add a posibliity for a pre-start hook
- The start.sh script does different operations on users, and
  sometimes one may need to do operations *after* that is done (as
  opposed to /usr/local/bin/start-notebook.d/ which is run before).
  This provides that possibility.  (One use case is hooks which must
  be run after the users are set up.)
- To be technically perfect, one might want to use something similar
  to /usr/local/bin/pre-start-notebook.d/.  But let's start with the
  simplest thing possible for now - the expected use of this command
  is only if people use NB_USER, etc in a way that requires small
  follow up commands to be run.
- If notebook is running as root, this allows users to run arbitrary
  commands pre-sudo.  Consider security model.
2018-08-22 01:32:13 +03:00
Iyán Méndez Veiga
8fd9b55c18 Update jupyterlab & extensions 2018-08-21 20:24:38 +02:00
Peter Parente
3a547137f3 Update JupyterHub to 0.9.x 2018-08-05 11:57:04 -04:00
Peter Parente
7d95895a97 Merge pull request #687 from rkdarst/group_handling
Update group handling: set primary gid, leave suplemental with group users
2018-08-05 11:19:21 -04:00
Richard Darst
fc72be36ad Update group handling: set primary gid, leave suplemental with group users
- If NB_GID is set, it is likely that files created should have NB_GID
  as their gid (if it doesn't matter, then this change is irrelevant.
  If it does matter, the liklihood that 100 matches with what the user
  wants is low).
- When NB_GID is set, create a new group with that gid.  Then, set
  this as the primary gid of the user.  Set the user's supplemental
  gids to NB_GID,100.
2018-08-02 10:27:29 +03:00
Amit Rathi
25181541de Bump up jupyterlab & extensions version 2018-07-31 13:27:07 +05:30
Michael Delgado
237e97d54a point README badges to dockerhub
Right now URLs simply point to the badge image source
2018-07-28 11:17:11 -07:00
Peter Parente
8d22c86ed4 Merge pull request #677 from jakirkham/use_cf_tini
Install tini from conda-forge
2018-07-20 15:27:41 -04:00
Peter Parente
02d387b31c Merge pull request #680 from nils-werner/XDG_CACHE_HOME
Change XDG_CACHE_HOME when using NB_USER
2018-07-20 15:06:26 -04:00
Nils Werner
6281d3d89c Change XDG_CACHE_HOME when using NB_USER 2018-07-20 12:18:14 +02:00
John Kirkham
0bfb920e02 Install tini from conda-forge
Switches to getting `tini` from `conda-forge`.
2018-07-19 22:56:48 -04:00
Peter Parente
f5c31533c4 Merge pull request #671 from stefanproell/SPR/config_fix
Adds config file initialization and updates Apache Mirror due to timeout issue
2018-07-19 16:12:45 -04:00
Stefan Proell
1584606a40 Adds config file initialization
Adds the initial creation of the configuration file
jupyter_notebook_config.json to the image. This file
was missing as reported in issue #639 and caused an
error when trying to set a new password via the Web
interface.

Bumps the version of Jupyter Notebook to 5.6

Updates Apache Mirror URL because the current causes build timeouts

The mirror used now (mirrors.ukfast.co.uk) is fast enough and does not
point to an ad site and is already used in a different Dockerfile within
this repository.
2018-07-19 10:17:50 +02:00
Peter Parente
19f1bd92f4 Fix second test_gid_change expectation 2018-06-29 08:33:12 -04:00
Peter Parente
611526cdc4 Fix test_gid_change expectation 2018-06-28 22:29:59 -04:00
Peter Parente
da11c31576 Fix #492: NB_GID adds a supplemental group, leaves primary untouched 2018-06-24 16:10:10 -07:00
Peter Parente
ede5987507 Update to latest conda patch release
But stick with the same major and minor as the base miniconda installer
2018-06-21 21:45:20 -04:00
Darek
6c89a9fc12 Bumped Ubuntu and conda to the current version 2018-06-13 14:38:13 +00:00
Min RK
d65fa651e0 bump some packages
- notebook 5.5
- matplotlib 2.2
- pandas 0.23
- scipy 1.1
- scikit-image 0.14
- statsmodels 0.9
2018-06-07 10:57:39 +02:00
Graham Dumpleton
47e120db74 Restrict su to users in group wheel so can't be used when run as random uid not in passwd file. 2018-06-07 10:02:31 +10:00
Graham Dumpleton
fce599596e Remove writable group file due to issues with being able to give su access when shouldn't be allowed. 2018-06-06 14:21:03 +10:00
Gurvinder Singh
3c0220cf17 upgrade tini to latest version 0.18.0 and also added the option to send signal to all child group processes as mentioned in docs
https://github.com/krallin/tini#process-group-killing
2018-06-04 16:49:25 +02:00
Peter Parente
0f73f7488f Merge pull request #650 from parente/more-docs
Document missing container options
2018-06-02 22:43:02 -04:00
Peter Parente
b62c7170c6 Fix some whitespace and quoting 2018-06-02 16:55:29 -04:00
Braden Pellett
ac04480084 Upgrade Ubuntu to latest LTS (Bionic 18.04)
Upgrade Ubuntu to latest LTS (Bionic 18.04), including:
- Change the IMAGE used for base-notebook;
- Keep Mesos install from Mesosphere's Xenial repository, since they
  don't yet have a Bionic repository;
- gnupg needs to be installed for apt-key to work;
- --force-yes option to apt-get has been removed;
- Package libav-tools is replaced by ffmpeg;
- Update Let's Encrypt example script to use 18.04.
2018-06-01 13:03:12 -07:00
John Kirkham
8b3661bea7 Upgrade to conda 4.5.4 2018-05-28 11:51:44 -07:00
John Kirkham
4cac637ed8 Upgrade to Miniconda 4.5.1 2018-05-28 11:51:43 -07:00
Peter Parente
2b33e23bb7 Make RTD the doc source of truth 2018-05-20 16:15:06 -04:00
Peter Parente
d29a0f6174 Merge pull request #633 from cam72cam/patch-2
Don't chown -R a user's home directory
2018-05-19 12:49:01 -04:00
Christian Mesh
e10d80d9cf Add the ability to specify chown arguments for both home and extra
If people have a use case for recursive chowns that's fine.  I think it's dangerous for people to use, but that's tailored to my use case.
2018-05-16 15:45:51 -04:00
Christian Mesh
dee887e6f9 Add CHOWN_EXTRA support
CHOWN_EXTRA is a comma separated list of directories to chown.
2018-05-15 11:13:55 -04:00
Masaru Nagaku
b81dad5ee8 send2trash not work
https://github.com/jupyter/notebook/issues/3130
Now, files not delete on https://hub.docker.com/r/jupyter/base-notebook/ and derived container images.
2018-05-08 20:16:49 +09:00
Christian Mesh
62360a7eff Don't chown -R a user's home directory
Only the top level permissions are set wrong due to kubernetes not being able to do this automatically.

This hits significant problems when the chown takes more than 30s and the pod fails to start
2018-05-07 14:46:18 -04:00
Peter Parente
9e52e6499d Update miniconda installer to 4.4 2018-04-30 22:05:26 -04:00
Tom Jorquera
a5d350fb0f Update jupyterlab and extensions
Update jupyterlab from 0.31 to 0.32.

Update the following extensions to matching versions:
- jupyterlab/hub-extension
- jupyter-widget/jupyterlab-manager
- jupyterlab_bokeh
2018-04-27 11:39:08 +02:00
Peter Parente
54623ca187 Force npm cache clean 2018-04-23 21:51:04 -04:00
Chris Ottinger
44d010e929 in start.sh ensure usename jovyan exists before attempting usermod 2018-04-13 15:56:46 +10:00
Peter Parente
d452f4e468 Remove tornado<5 pin 2018-04-07 22:26:30 -04:00
Chia-liang Kao
632ce8c2d2 Run additional scripts in /usr/local/bin/start-notebook.d/ 2018-03-29 16:26:20 +08:00
Chia-liang Kao
d7e3817af5 base image on ubuntu:xenial-20180228 2018-03-26 09:27:20 +08:00
Peter Parente
981f6e402d Notebook 5.4, force tornado 4.* at the outset 2018-03-19 08:41:56 -04:00
Joachim Jablon
3c61b079c2 Chown of home dir needs to be recursive 2018-03-09 19:01:41 +01:00
Graham Dumpleton
c545886d76 Add entries to passwd/group if running as user not in passwd file. 2018-02-20 19:17:55 +11:00
Aaron Vinson
ead1caecfa improve secure_path modification by storing in sudoers.d 2018-02-17 00:15:06 -08:00
Graham Dumpleton
f4bf2ba525 Merge branch 'master' of github.com:jupyter/docker-stacks into writable-home-directory 2018-02-17 11:33:31 +11:00
Graham Dumpleton
4d32b2182e Ensure anything under $HOME is always writable to group. 2018-02-17 11:31:55 +11:00