Commit Graph

203 Commits

Author SHA1 Message Date
Min RK
dd03a7e5cd notebook 5.7.5
and conda to 4.6.7
2019-03-06 13:20:18 +01:00
Thijs Walcarius
a252cfa173 Fix for build error #807
Fix permissions in parent dir of $CONDA_DIR instead of $CONDA_DIR
2019-02-14 09:20:14 +01:00
Peter Parente
992d83c57c BUG: Generate missing openssl.cnf
Ensure distinguished_name is set when generating an ssl cert
2019-02-02 21:39:07 -05:00
Peter Parente
a95cb64dfe Merge pull request #791 from rkdarst/run-hooks-loop-bugfix
Fix logging bug in run-hooks (order of logging statement)
2019-01-01 19:08:45 -05:00
Richard Darst
6e104c95b1 Fix logging bug in run-hooks (order of logging statement)
- The "done running loop" log message was inside the loop, causing it
  to appear over and over again, making log quite confusing.
2019-01-01 23:37:23 +02:00
Peter Parente
e2d4d3b40b Set STATUS=0 by default
Addresses code review by @GrahamDumpleton
2018-12-29 18:15:40 -05:00
Peter Parente
9b9c3c7d99 Fix bug where container user is "nayvoj"
whoami &> /dev/null || STATUS=$? && true
causes STATUS to be set to an empty string
when the container starts with option --add-group="root"
resulting in both nayvoj and jovyan having uid=1000
and gid=100. The first match in /etc/password wins
and so the container user ends up being "nayvoj"
accidentally.

Avoid this by checking that whoami STATUS is neither blank nor 0
before adding a new /etc/passwd entry
2018-12-29 15:06:42 -05:00
Peter Parente
17aba6048f Merge pull request #759 from dungdm93/master
fixing inline script problem
2018-12-29 11:29:19 -05:00
Peter Parente
fbba48c435 Only apply custom umask if NB_UMASK is set 2018-12-28 13:28:03 -05:00
Peter Parente
1ec114a8ca Squashed commit of the following:
commit 2d92977085
Author: Iyán Méndez Veiga <me@iyanmv.com>
Date:   Tue Aug 21 23:22:35 2018 +0200

    Delete code in start.sh (not necessary). Simplify 'os.umask' code. Add paragraph to docs

commit 19d1e7be71
Author: Iyán Méndez Veiga <me@iyanmv.com>
Date:   Tue Aug 21 19:03:36 2018 +0200

    Change if clause condition

commit 13802f436c
Author: Iyán Méndez Veiga <me@iyanmv.com>
Date:   Tue Aug 21 20:24:38 2018 +0200

    Update jupyterlab & extensions

commit 63bdcad837
Author: Iyán Méndez Veiga <me@iyanmv.com>
Date:   Tue Aug 21 16:21:01 2018 +0200

    Fix 'No newline at end of file'

commit 9504408874
Author: Iyan Méndez Veiga <iyan.mendezveiga@arcelormittal.com>
Date:   Tue Aug 21 15:37:32 2018 +0200

    Fix if clause start.sh

commit 74da4e07b2
Author: Iyan Méndez Veiga <iyan.mendezveiga@arcelormittal.com>
Date:   Tue Aug 21 14:52:21 2018 +0200

    Add NB_UMASK flag to modify default umask
2018-12-28 13:24:16 -05:00
Tim Ryan
3fc28b67e0 Remove apt-get clean command. Unecessary on official Ubuntu images. 2018-12-17 10:40:58 -05:00
Min RK
e8613d8412 Merge pull request #764 from minrk/bump-notebook
notebook 5.7.2
2018-11-19 16:27:30 +01:00
Vibhuti Sawant
6c265d399d updated the base image to ubuntu:18.04 2018-11-19 16:13:14 +05:30
Min RK
be4fd6705b notebook 5.7.2 2018-11-19 10:28:45 +01:00
Peter Parente
d12c594540 Merge pull request #758 from clkao/jupyterlab-0.35
Update JupyterLab and extensions to 0.35.4
2018-11-15 12:14:14 -05:00
Đặng Minh Dũng
0329eecec8 fixing inline script problem 2018-11-12 01:45:05 +07:00
Chia-liang Kao
432c3f0047 Update JupyterLab and extensions to 0.35.4 2018-11-09 12:03:59 +08:00
Darek
fdaf3d867d Upgrading Miniconda3 version to install Python 3.7 2018-11-08 23:40:28 +00:00
ericdill
9c11f4b8df Revert to lab 0.34.12 and fix associated extensions 2018-10-25 21:09:08 +02:00
ericdill
6104833f58 Bump to 0.35 2018-10-25 12:45:27 +02:00
ericdill
a1cc83bc69 Bump to latest point releases 2018-10-25 12:40:29 +02:00
Peter Parente
ebb42274ac Merge pull request #720 from rwmajor2/build_user_args
Changed Dockerfile for USER/ID/GID to be Docker build arguments
2018-10-24 09:01:23 -04:00
Peter Parente
f2889d7ae7 Merge pull request #731 from graemes/from-arg
Convert FROM specification to ARG (#727)
2018-10-23 22:01:53 -04:00
Bill Major
4d273b48e8 Made Docker ags same as ENV var names 2018-10-23 09:49:42 -04:00
Bill Major
6513fe755e Changed Dockerfile for USER/ID/GID to be Docker build arguments 2018-10-23 09:49:42 -04:00
Michael Delgado
75df827c6d add 'image metadata' alt text in base-notebook readme 2018-10-20 12:36:08 -07:00
graemes
1d763bbac5 Convert FROM specification to ARG (#727) 2018-10-19 18:52:27 +01: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