Commit Graph

237 Commits

Author SHA1 Message Date
Jeff
a667552e78 Option to enable restart without exiting container
Add optional environment variable RESTARTABLE to enable Jupyter to
be restarted without causing the container to exit.  When the variable
is set, run-one-constantly (from the Ubuntu run-one package) is
inserted into the Jupyter startup command.
2019-08-02 11:17:04 -06:00
Travis CI
374207fad6 Update conda and jupyterlab 2019-07-27 13:32:04 -04:00
Chia-liang Kao
82c66752db Bump notebook to 6.0.0 and jupyterlab to 1.0.2 2019-07-27 13:30:03 -04:00
Min RK
0fe100ed78 Merge pull request #896 from minrk/conda-47
conda 4.7.5
2019-07-16 14:33:49 +02:00
Min RK
f298609f78 Merge pull request #901 from jamesdbrock/jupyterlab_bokeh-1.0.0
jupyterlab_bokeh@1.0.0 (rebase on PR #894) for JupyterLab 1.0.0
2019-07-16 14:32:12 +02:00
Min RK
20590f43eb jupyterlab 1.0.1
has fixed dependencies
2019-07-04 14:38:05 +02:00
Min RK
50ae9cdea4 conda 4.7.5
much faster installs

had to move WORKDIR $HOME up due to tempfile permission issues with conda 4.7
2019-07-04 13:29:28 +02:00
Min RK
4c2fed05a6 bump ubuntu base 2019-07-04 10:54:37 +02:00
James Brock
2743b35585 Pin conda version to $CONDA_VERSION
Pin the conda version so that a call to `conda update --all` will not
cause conda to update itself to a higher version with possible breaking
changes.

Motivating example: Upgrade from __4.6.*__ to __4.7.5__ causes the build to fail
due to a conda error:

    [Errno 13] Permission denied: '/.cph_tmpilpdzq7x'

Resolves #891
2019-07-02 10:02:44 +09:00
Dan Allan
ac833a375e Bump JupyterLab and remove hub-extension. 2019-07-01 17:25:02 -04:00
Peter Parente
25e199dd6a [ci skip] Apply additional tags, base image only to start
* python-<version>
* notebook-<version>
* lab-<version>
* hub-<version>
2019-05-19 13:10:27 -04:00
Min RK
46a80c13a7 jupyterhub 1.0 2019-05-10 09:52:08 +02:00
echowhisky
167c686011 Merge branch 'master' into issue-861
Resolved conflicts between local branch and updates to the upstream
master.
2019-05-06 18:46:51 +00:00
Peter Parente
b7e7015550 [ci skip] Try to skip needless rebuilds on Docker Hub 2019-05-05 20:01:41 -04:00
echowhisky
40c5c07b0a added -f flag to all conda clean commands
This commit adds the additional `-f` force command to all uses of `conda
clean --all` through the repo. Size should be smaller, but still testing
if anything breaks. See issue #861.
2019-05-04 19:11:32 +00:00
echowhisky
1f8311a7aa changed -tipsy to --all -y across all files
The last commit was only for the base-notebook's Dockerfile. For this,
all the files in the repo were grepped through and changed.
2019-05-04 18:53:49 +00:00
echowhisky
c83aec5f33 changed -tipsy flag to --all -y
Following the discussion in issue #861, this changes the `conda clean`
flags.
2019-05-04 16:33:25 +00:00
Chia-liang Kao
95dfb85e60 Update to JupyterLab 0.35.5
This contains a fix for chrome download file bug: https://github.com/jupyterlab/jupyterlab/pull/6232#issuecomment-486618455
2019-04-25 20:58:27 +08:00
Alasdair Tran
74da0d544f Let the Python patch version float 2019-04-21 16:46:44 -04:00
Alasdair Tran
825ea4d6a8 Pin Python version 2019-04-21 16:46:05 -04:00
Graham Dumpleton
d52c70231b Disable su/sudo access unless sudo explicitly enabled for a specific user using GRANT_SUDO. 2019-04-08 11:09:34 +10:00
Min RK
c18535d7af bump notebook, jupyterhub
with security fixes
2019-04-01 13:13:08 +02:00
Brett Randall
e29f669fb8 Added CHOWN_EXTRA test.
Signed-off-by: Brett Randall <javabrett@gmail.com>
2019-03-20 15:10:09 +11:00
Brett Randall
2d9aa71f69 Added logging of CHOWN_HOME_OPTS and CHOWN_EXTRA_OPTS.
Signed-off-by: Brett Randall <javabrett@gmail.com>
2019-03-20 15:10:04 +11:00
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