Commit Graph

213 Commits

Author SHA1 Message Date
Brett Randall
7dc56ab821 Added logging of chown of CHOWN_EXTRA directories.
Signed-off-by: Brett Randall <javabrett@gmail.com>
2019-03-20 15:09:54 +11:00
Peter Parente
76853d93ed [ci skip] Escape those backticks 2019-03-16 22:38:40 -04:00
Peter Parente
4667cffc41 [ci skip] List full image name and tag 2019-03-16 22:31:10 -04:00
Peter Parente
3339b63abf [ci skip] Add row to build index after every image push 2019-03-16 22:03:59 -04:00
Peter Parente
243da296a1 [ci skip] Add language versions, conda info, fix spark info 2019-03-16 22:03:54 -04:00
Peter Parente
10c58da405 [ci skip] Add package manifest support
Generates manifest pages and pushes them
to the docker-stacks GitHub wiki.
Does not update a global index of all builds yet.
2019-03-15 16:08:27 -04:00
Peter Parente
0023598a65 Force color only exists in the /etc/skel/.bashrc 2019-03-13 08:02:54 -04:00
Peter Parente
f081d9efd7 Enable color prompts 2019-03-12 21:00:02 -04:00
Peter Parente
29a003bb30 Merge pull request #821 from minrk/nb575
notebook 5.7.5
2019-03-07 09:25:35 -05:00
Min RK
dd03a7e5cd notebook 5.7.5
and conda to 4.6.7
2019-03-06 13:20:18 +01:00
Brett Randall
475ab49f82 Made variable reference PYTHONPATH safe in case of set -eu.
Signed-off-by: Brett Randall <javabrett@gmail.com>
2019-02-20 14:46:51 +11: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